未验证 提交 2098c283 编写于 作者: H houj04 提交者: GitHub

[XPU] fix clip op unit test. (#49535)

上级 bbc6dd94
......@@ -134,12 +134,6 @@ class TestClipOpError(unittest.TestCase):
paddle.clip(x=input_data, min=-1.0, max=1.0)
self.assertRaises(TypeError, test_Variable)
def test_dtype():
x2 = fluid.layers.data(name='x2', shape=[1], dtype='int32')
paddle.clip(x=x2, min=-1.0, max=1.0)
self.assertRaises(TypeError, test_dtype)
paddle.disable_static()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册