提交 65a5c2d4 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fix issue in tests for subtensor

上级 bc6837a5
......@@ -1075,7 +1075,7 @@ class T_subtensor(theano.tensor.tests.test_subtensor.T_subtensor):
# Test with c_contiguous input
t = self.adv_sub1()(n, idx)
t.owner.op.perform_using_take = True # input c_contiguous, so we reshape
val = self.eval_output_and_check(t, list=True)
val = self.eval_output_and_check(t, op_type=self.adv_sub1)
val = numpy.asarray(val)
good = data[idx]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论