未验证 提交 72a2bfe2 编写于 作者: P pangyoki 提交者: GitHub

disable scatter case in test_inplace_eager_fluid (#40756)

上级 5b7fadec
...@@ -196,6 +196,8 @@ class TestDygraphInplaceFlatten(TestDygraphInplace): ...@@ -196,6 +196,8 @@ class TestDygraphInplaceFlatten(TestDygraphInplace):
return var.flatten_() return var.flatten_()
"""
# This case will fail while using `_C_ops.final_state_scatter`.
class TestDygraphInplaceScatter(TestDygraphInplace): class TestDygraphInplaceScatter(TestDygraphInplace):
def init_data(self): def init_data(self):
self.input_var_numpy = np.array([[1, 1], [2, 2], [3, 3]]) self.input_var_numpy = np.array([[1, 1], [2, 2], [3, 3]])
...@@ -214,6 +216,7 @@ class TestDygraphInplaceScatter(TestDygraphInplace): ...@@ -214,6 +216,7 @@ class TestDygraphInplaceScatter(TestDygraphInplace):
[[1, 1], [2, 2], [3, 3], [4, 4]], dtype='float32') [[1, 1], [2, 2], [3, 3], [4, 4]], dtype='float32')
return paddle.scatter_(var, index, updates, overwrite=False) return paddle.scatter_(var, index, updates, overwrite=False)
"""
class TestDygraphInplaceElu(TestDygraphInplace): class TestDygraphInplaceElu(TestDygraphInplace):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册