File size: 695 Bytes
966ae59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- coding: utf-8 -*-
# Copyright (c) XiMing Xing. All rights reserved.
# Author: XiMing Xing
# Description:
from . import lazy

# __getattr__, __dir__, __all__ = lazy.attach(
#     __name__,
#     submodules={},
#     submod_attrs={
#         'misc': ['identity', 'exists', 'default', 'has_int_squareroot', 'sum_params', 'cycle', 'num_to_groups',
#                  'extract', 'normalize', 'unnormalize'],
#         'tqdm': ['tqdm_decorator'],
#         'lazy': ['load']
#     }
# )

from .misc import (
    identity,
    exists,
    default,
    has_int_squareroot,
    sum_params,
    cycle,
    num_to_groups,
    extract,
    normalize,
    unnormalize
)
from .tqdm import tqdm_decorator