Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Aug 30, 2022
1 parent 72265b4 commit 956ce7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -142,7 +142,7 @@ def _executed_api(self, x, y, name=None):
return x.remainder_(y, name)


class TestRemainderInplaceBroadcastSuccess(TestRemainderOp):
class TestRemainderInplaceBroadcastSuccess(unittest.TestCase):

def init_data(self):
self.x_numpy = np.random.rand(2, 3, 4).astype('float')
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/fluid/tests/unittests/test_inplace.py
Expand Up @@ -483,7 +483,7 @@ def inplace_api_processing(self, var):
return var.subtract_(input_var_2)


class TestDygraphInplaceRemainder(unittest.TestCase):
class TestDygraphInplaceRemainder(TestDygraphInplace):

def non_inplace_api_processing(self, var):
input_var_2 = paddle.to_tensor(self.input_var_numpy_2)
Expand Down

0 comments on commit 956ce7f

Please sign in to comment.