Skip to content

Commit 32243a4

Browse files
update atol and rtol
1 parent 33e6a23 commit 32243a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/legacy_test/test_norm_all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ def setUp(self):
190190
self.prim_op_type = "comp"
191191
self.init_test_case()
192192
self.init_dtype()
193+
self.fw_comp_atol = 1e-6
194+
self.fw_comp_rtol = 1e-6
195+
self.rev_comp_atol = 1e-6
196+
self.rev_comp_rtol = 1e-6
193197
x = (np.random.random(self.shape) + 0.5).astype(self.dtype)
194198
norm = np_linalg_norm(x, self.axis, self.porder, self.keepdim)
195199
self.inputs = {'X': x}

0 commit comments

Comments
 (0)