提交 b693f5e2 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed test broken by changed name of op

上级 fbe7e13e
...@@ -3244,7 +3244,7 @@ class Test_lift_transpose_through_dot(unittest.TestCase): ...@@ -3244,7 +3244,7 @@ class Test_lift_transpose_through_dot(unittest.TestCase):
def test_matrix_matrix(self): def test_matrix_matrix(self):
a, b = matrices('ab') a, b = matrices('ab')
g = self.simple_optimize(Env([a, b], [tensor.dot(a, b).T])) g = self.simple_optimize(Env([a, b], [tensor.dot(a, b).T]))
sg = '[dot(InplaceDimShuffle{1,0}(b), InplaceDimShuffle{1,0}(a))]' sg = '[dot(DimShuffle{1,0}(b), DimShuffle{1,0}(a))]'
assert str(g) == sg assert str(g) == sg
def test_row_matrix(self): def test_row_matrix(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论