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

remove unused code in test

上级 477d92bc
7 合并请求!11636[IMPORTANT] MKLDNN layout: Support for sum operator,!8482Release/0.11.0,!8190Release/0.11.0,!8189Release/0.11.0,!6633给线性回归的get-started代码加上了预测的示例~~,!4615Feature/tensor array add python binding,!3949Add reshape operator
......@@ -15,13 +15,6 @@ class TestReshapeOp(unittest.TestCase):
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):
self.op = Operator("reshape", X='X', Out='Out', shape=[5, 40])
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.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部