未验证 提交 05a40691 编写于 作者: H HongyuJia 提交者: GitHub

[0D-Tensor] Fix test_elementwise_max_op unittest (#55674)

上级 ca72aa2a
......@@ -124,9 +124,6 @@ class TestElementwiseMaxOp_ZeroDim1(TestElementwiseOp):
self.x = np.random.uniform(0.1, 1, []).astype("float64")
self.y = np.random.uniform(0.1, 1, []).astype("float64")
def if_enbale_cinn(self):
self.enable_cinn = False
class TestElementwiseMaxFP16Op_ZeroDim1(TestElementwiseFP16Op):
def init_data(self):
......@@ -142,9 +139,6 @@ class TestElementwiseMaxOp_ZeroDim2(TestElementwiseOp):
self.x = np.random.uniform(0.1, 1, [13, 17]).astype("float64")
self.y = np.random.uniform(0.1, 1, []).astype("float64")
def if_enbale_cinn(self):
self.enable_cinn = False
class TestElementwiseMaxFP16Op_ZeroDim2(TestElementwiseFP16Op):
def init_data(self):
......@@ -160,9 +154,6 @@ class TestElementwiseMaxOp_ZeroDim3(TestElementwiseOp):
self.x = np.random.uniform(0.1, 1, []).astype("float64")
self.y = np.random.uniform(0.1, 1, [13, 17]).astype("float64")
def if_enbale_cinn(self):
self.enable_cinn = False
class TestElementwiseMaxFP16Op_ZeroDim3(TestElementwiseFP16Op):
def init_data(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册