提交 b451ff26 编写于 作者: H huangjun12 提交者: chajchaj

fix ci coverage bug

上级 9e1af385
......@@ -324,7 +324,7 @@ class TestLocalResponseNormFAPIError(unittest.TestCase):
self.assertRaises(ValueError, test_dim)
def test_shape():
x = fluid.data(name='x', shape=[0, 0, 2, 3], dtype="float32")
x = paddle.rand(shape=[0, 0, 2, 3], dtype="float32")
paddle.nn.functional.local_response_norm(x, size=5)
self.assertRaises(ValueError, test_shape)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册