提交 fe7d322d authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix the CGemv tests now that force_init_beta is gone.

上级 9132a2a6
...@@ -150,7 +150,7 @@ class TestCGemv(TestCase, TestOptimizationMixin): ...@@ -150,7 +150,7 @@ class TestCGemv(TestCase, TestOptimizationMixin):
self.assertFunctionContains0(f, tensor.dot) self.assertFunctionContains0(f, tensor.dot)
self.assertFunctionContains1( self.assertFunctionContains1(
f, f,
CGemv(inplace=True, force_init_beta=True) CGemv(inplace=True)
) )
# Assert they produce the same output # Assert they produce the same output
...@@ -171,7 +171,7 @@ class TestCGemv(TestCase, TestOptimizationMixin): ...@@ -171,7 +171,7 @@ class TestCGemv(TestCase, TestOptimizationMixin):
self.assertFunctionContains0(f, tensor.dot) self.assertFunctionContains0(f, tensor.dot)
self.assertFunctionContains1( self.assertFunctionContains1(
f, f,
CGemv(inplace=True, force_init_beta=True) CGemv(inplace=True)
) )
# Assert they produce the same output # Assert they produce the same output
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论