Skip to content

Commit

Permalink
fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Sep 25, 2023
1 parent 0582d55 commit 6fef392
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/legacy_test/test_tile_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ def if_enable_cinn(self):

def test_check_output(self):
place = core.CUDAPlace(0)
self.check_output_with_place(place, check_cinn=self.check_cinn, check_new_ir=True)
self.check_output_with_place(
place, check_cinn=self.check_cinn, check_new_ir=True
)

def init_data(self):
self.dtype = np.uint16
Expand All @@ -302,7 +304,9 @@ def init_data(self):

def test_check_grad(self):
place = core.CUDAPlace(0)
self.check_grad_with_place(place, ['X'], 'Out', check_prim=True, check_new_ir=True)
self.check_grad_with_place(
place, ['X'], 'Out', check_prim=True, check_new_ir=True
)


# Situation 5: input x is Bool
Expand Down

0 comments on commit 6fef392

Please sign in to comment.