提交 a3b4d55a authored 作者: Frederic Bastien's avatar Frederic Bastien

fix for the move of SharedVariable.

上级 f76c3213
......@@ -55,7 +55,8 @@ def handle_shared_float32(tf):
This function is intended to be called from use(gpu_index), not directly.
"""
if tf:
theano.compile.sandbox.shared_constructor(shared_constructor)
import theano.compile
theano.compile.shared_constructor(shared_constructor)
else:
raise NotImplementedError('removing our handler')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论