提交 40cd0a6c authored 作者: Frederic's avatar Frederic

fix new crash due to import of scipy.sparse.

上级 08a58f7b
import numpy import numpy
try: try:
import scipy import scipy.sparse
imported_scipy = True imported_scipy = True
except ImportError: except ImportError:
imported_scipy = False imported_scipy = False
...@@ -8,6 +8,7 @@ except ImportError: ...@@ -8,6 +8,7 @@ except ImportError:
import theano import theano
from theano import gof from theano import gof
def _is_sparse(x): def _is_sparse(x):
""" """
@rtype: boolean @rtype: boolean
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论