提交 31c4f10b authored 作者: Frederic's avatar Frederic

Fix path for test with dev version of numpy

上级 8265d764
...@@ -1146,7 +1146,7 @@ class TestAdvancedSubtensor(unittest.TestCase): ...@@ -1146,7 +1146,7 @@ class TestAdvancedSubtensor(unittest.TestCase):
subt = self.m[self.ix1, self.ix12] subt = self.m[self.ix1, self.ix12]
a = inc_subtensor(subt, subt) a = inc_subtensor(subt, subt)
typ = TensorType(self.m.type.dtype, self.ix2.type.broadcastable) typ = tensor.TensorType(self.m.type.dtype, self.ix2.type.broadcastable)
assert a.type == typ, (a.type, typ) assert a.type == typ, (a.type, typ)
f = theano.function([self.m, self.ix1, self.ix12], a, f = theano.function([self.m, self.ix1, self.ix12], a,
allow_input_downcast=True) allow_input_downcast=True)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论