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

fix new crash due to import of scipy.sparse.

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