提交 7ae72f75 编写于 作者: Y Yibing Liu

remove unused code in test

上级 477d92bc
...@@ -15,13 +15,6 @@ class TestReshapeOp(unittest.TestCase): ...@@ -15,13 +15,6 @@ class TestReshapeOp(unittest.TestCase):
class TestReshapeGradOp(GradientChecker): class TestReshapeGradOp(GradientChecker):
"""
def test_normal(self):
op = Operator("reshape", X='X', Out='Out', shape=[5, 40])
inputs = {"X": np.random.random((10, 20)).astype("float32")}
self.check_grad(op, inputs, set("X"), "Out")
"""
def setUp(self): def setUp(self):
self.op = Operator("reshape", X='X', Out='Out', shape=[5, 40]) self.op = Operator("reshape", X='X', Out='Out', shape=[5, 40])
self.inputs = {"X": np.random.random((10, 20)).astype("float32")} self.inputs = {"X": np.random.random((10, 20)).astype("float32")}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册