#  -*- coding: UTF-8 -*-
#  File: __init__.py
#  Author: <NAME> <<EMAIL>>

from pkgutil import walk_packages
import os

"""
Common utils.
These utils should be irrelevant to tensorflow.
"""

def _global_import(name):
    p = __import__(name, globals(), None, level=1)
    lst = p.__all__ if '__all__' in dir(p) else dir(p)
    del globals()[name]
    for k in lst:
        globals()[k] = p.__dict__[k]
_global_import('naming')
_global_import('utils')
_global_import('gpu')

#  -*- coding: UTF-8 -*-
#  File: __init__.py
#  Author: <NAME> <<EMAIL>>

from pkgutil import walk_packages
import os

"""
Common utils.
These utils should be irrelevant to tensorflow.
"""

def _global_import(name):
    p = __import__(name, globals(), None, level=1)
    lst = p.__all__ if '__all__' in dir(p) else dir(p)
    del globals()[name]
    for k in lst:
        globals()[k] = p.__dict__[k]
_global_import('naming')
_global_import('utils')
_global_import('gpu')

#  -*- coding: UTF-8 -*- #  File: __init__.py #  Author: <NAME> <<EMAIL>> Common utils. These utils should be irrelevant to tensorflow.