提交 8edcd09c authored 作者: Frederic Bastien's avatar Frederic Bastien

import the version of theano and nothing else. In some case we could import the…

import the version of theano and nothing else. In some case we could import the version from another project.
上级 fd289d1a
...@@ -171,8 +171,8 @@ def dot(l, r): ...@@ -171,8 +171,8 @@ def dot(l, r):
# Version information # Version information
try: try:
import version import theano.version
__version__ = version.version __version__ = theano.version.version
except ImportError: except ImportError:
import warnings import warnings
warnings.warn( warnings.warn(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论