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

feat: Added inplace Remainder in paddle frontend #22962

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4fd8e01
add reciprocal inplace function in paddle and passed all tests
ArsalanAli915 Aug 31, 2023
7fbc69f
Merge branch 'master' into exp_
ArsalanAli915 Aug 31, 2023
061f928
Addded exp_ function in paddle
ArsalanAli915 Aug 31, 2023
5ddc964
Update math.py
ArsalanAli915 Aug 31, 2023
82220fc
Update test_math.py
ArsalanAli915 Aug 31, 2023
6be92e8
Update test_math.py
ArsalanAli915 Sep 1, 2023
754e382
fixed lintchek
ArsalanAli915 Sep 1, 2023
e8b5422
fixed lintchek
ArsalanAli915 Sep 1, 2023
67d829f
Merge branch 'master' into sub_
ArsalanAli915 Sep 2, 2023
de1cb78
Update math.py
ArsalanAli915 Sep 2, 2023
e102877
Update test_math.py
ArsalanAli915 Sep 2, 2023
92b8d0a
fixed pre-commit test
ArsalanAli915 Sep 2, 2023
4ecbb87
Merge branch 'sub_' of https://github.com/ArsalanAli915/ivy into sub_
ArsalanAli915 Sep 2, 2023
9294b48
Update math.py
ArsalanAli915 Sep 2, 2023
8ce2103
Update test_math.py
ArsalanAli915 Sep 2, 2023
c18354b
fixed checks
ArsalanAli915 Sep 2, 2023
36a999c
fixed checks
ArsalanAli915 Sep 2, 2023
95cf200
add inplace reminder and Passed all test
ArsalanAli915 Sep 2, 2023
76f8e6c
Update math.py
ArsalanAli915 Sep 2, 2023
cd76d6a
Update test_math.py
ArsalanAli915 Sep 2, 2023
279d0f7
Merge branch 'master' into remain_
ArsalanAli915 Sep 8, 2023
aa7af43
Merge branch 'main' into remain_
ArsalanAli915 Sep 8, 2023
db03900
Merge branch 'main' into remain_
ArsalanAli915 Sep 8, 2023
7980b2d
passed lint
ArsalanAli915 Sep 8, 2023
d3db411
Update math.py
ArsalanAli915 Sep 13, 2023
31e235b
fixed lint check
ArsalanAli915 Sep 13, 2023
2ad01cf
Merge branch 'remain_' of https://github.com/ArsalanAli915/ivy into r…
ArsalanAli915 Sep 13, 2023
bb3a94c
Merge branch 'main' into remain_
ArsalanAli915 Sep 13, 2023
fb1ff60
🤖 Lint code
ivy-branch Sep 16, 2023
ba9ac36
Update test_math.py
ArsalanAli915 Sep 18, 2023
fd5e348
Merge branch 'main' into remain_
ArsalanAli915 Sep 19, 2023
08e4138
fixed the issue
ArsalanAli915 Sep 19, 2023
4a4f9d6
Merge branch 'remain_' of https://github.com/ArsalanAli915/ivy into r…
ArsalanAli915 Sep 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ivy/functional/frontends/paddle/tensor/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ def reciprocal_(x, name=None):
return ivy.inplace_update(x, reciprocal(x))


@with_unsupported_dtypes({"2.5.1 and below": ("float16", "bfloat16")}, "paddle")
@to_ivy_arrays_and_back
def remainder_(x, y, name=None):
return ivy.inplace_update(x, remainder(x, y))



@with_unsupported_dtypes({"2.5.1 and below": ("float16", "bfloat16")}, "paddle")
@to_ivy_arrays_and_back
def round_(x, name=None):
Expand Down
Loading