提交 ad980be9 authored 作者: Frederic Bastien's avatar Frederic Bastien

Remove useless return

上级 8e65af18
......@@ -5020,7 +5020,7 @@ class T_reshape(utt.InferShapeTester, utt.TestOptimizationMixin):
# The tag canonicalize is needed for the shape test in FAST_COMPILE
self.mode = mode
self.ignore_topo = ignore_topo
return super(T_reshape, self).__init__(name)
super(T_reshape, self).__init__(name)
def function(self, inputs, outputs):
f = function(inputs, outputs, mode=self.mode)
......
......@@ -1264,7 +1264,7 @@ class TestAdvancedSubtensor(unittest.TestCase):
self.mode = mode
self.dtype = dtype
self.ignore_topo = ignore_topo
return super(TestAdvancedSubtensor, self).__init__(name)
super(TestAdvancedSubtensor, self).__init__(name)
def setUp(self):
self.s = iscalar()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论