提交 34b4ecd1 authored 作者: David Warde-Farley's avatar David Warde-Farley

Revert self.shared change in T_Join_and_Split.

上级 c5439131
......@@ -2582,7 +2582,7 @@ class T_Join_and_Split(unittest.TestCase):
# tested only on cpu as gpu support only float32
a = as_tensor_variable(1)
b = as_tensor_variable(2.0)
c = self.shared(numpy.asarray(3.0, dtype=self.floatX))
c = shared(numpy.asarray(3.0, dtype=self.floatX))
s = stack(a, b, c)
want = numpy.array([1, 2, 3])
out = self.eval_outputs_and_check_vector([s], opt.MakeVector)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论