TensorFlow定义模块
# 版权所有 2015 TensorFlow 作者.保留所有权利.
#
# 许可下的 Apache 许可证, 版本 2.0 ("许可证");
# 除非符合许可, 否则您不得使用此文件.
# 您可以获得许可证的副本
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 除非适用法律要求或书面同意, 软件
# 分布在许可证下的 "按" 为基础
# 没有任何明示或默示的保证或条件.
# 查看特定语言管理权限的许可证和许可证下的限制.
# ==============================================================================
# 将所有公共 TensorFlow 接口引入此
# 模块.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# pylint: disable=wildcard-import
from tensorflow.python import *
# pylint: enable=wildcard-import
from tensorflow.python.util.lazy_loader import LazyLoader
contrib = LazyLoader('contrib', globals(), 'tensorflow.contrib')
del LazyLoader
del absolute_import
del division
del print_function
# These symbols appear because we import the python package which
# in turn imports from tensorflow.core and tensorflow.python. They
# must come from this module. So python adds these symbols for the
# resolution to succeed.
# pylint: disable=undefined-variable
del python
del core
# pylint: enable=undefined-variable
更多建议: