提交 a8e93e33 编写于 作者: Y yukavio

set check_dygraph=True

上级 00b50faa
...@@ -45,7 +45,7 @@ class TestOneHotOp(OpTest): ...@@ -45,7 +45,7 @@ class TestOneHotOp(OpTest):
self.outputs = {'Out': (out, x_lod)} self.outputs = {'Out': (out, x_lod)}
def test_check_output(self): def test_check_output(self):
self.check_output(check_dygraph=False) self.check_output(check_dygraph=True)
class TestOneHotOp_attr(OpTest): class TestOneHotOp_attr(OpTest):
...@@ -68,7 +68,7 @@ class TestOneHotOp_attr(OpTest): ...@@ -68,7 +68,7 @@ class TestOneHotOp_attr(OpTest):
self.outputs = {'Out': (out, x_lod)} self.outputs = {'Out': (out, x_lod)}
def test_check_output(self): def test_check_output(self):
self.check_output(check_dygraph=False) self.check_output(check_dygraph=True)
class TestOneHotOp_default_dtype(OpTest): class TestOneHotOp_default_dtype(OpTest):
...@@ -91,7 +91,7 @@ class TestOneHotOp_default_dtype(OpTest): ...@@ -91,7 +91,7 @@ class TestOneHotOp_default_dtype(OpTest):
self.outputs = {'Out': (out, x_lod)} self.outputs = {'Out': (out, x_lod)}
def test_check_output(self): def test_check_output(self):
self.check_output(check_dygraph=False) self.check_output(check_dygraph=True)
class TestOneHotOp_default_dtype_attr(OpTest): class TestOneHotOp_default_dtype_attr(OpTest):
...@@ -114,7 +114,7 @@ class TestOneHotOp_default_dtype_attr(OpTest): ...@@ -114,7 +114,7 @@ class TestOneHotOp_default_dtype_attr(OpTest):
self.outputs = {'Out': (out, x_lod)} self.outputs = {'Out': (out, x_lod)}
def test_check_output(self): def test_check_output(self):
self.check_output(check_dygraph=False) self.check_output(check_dygraph=True)
class TestOneHotOp_exception(unittest.TestCase): class TestOneHotOp_exception(unittest.TestCase):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册