Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【PaddlePaddle Hackathon 3 No.14】为 Paddle 新增 remainder_ API #45266

Merged
merged 9 commits into from Aug 31, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -136,13 +136,13 @@ def test_dygraph(self):
np.testing.assert_allclose(z_expected, z.numpy(), rtol=1e-05)


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

def _executed_api(self, x, y, name=None):
return x.remainder_(y, name)


class TestRemainderInplaceBroadcastSuccess(unittest.TestCase):
class TestRemainderInplaceBroadcastSuccess(TestRemainderOp):
zrr1999 marked this conversation as resolved.
Show resolved Hide resolved

def init_data(self):
self.x_numpy = np.random.rand(2, 3, 4).astype('float')
Expand Down