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

Adding PaddlePaddle to general functions #12913

Merged
merged 2 commits into from
Mar 25, 2023
Merged

Adding PaddlePaddle to general functions #12913

merged 2 commits into from
Mar 25, 2023

Conversation

vtsamit
Copy link
Contributor

@vtsamit vtsamit commented Mar 22, 2023

Close #12211

@@ -154,7 +154,13 @@ def inplace_decrement(
x: Union[ivy.Array, paddle.Tensor],
val: Union[ivy.Array, paddle.Tensor],
) -> ivy.Array:
raise IvyNotImplementedException()
(x_native, val_native), _ = ivy.args_to_native(x, val)
x_native.data -= val_native
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, since x.native is a paddle array, it doesn't have .data attribute

@MahmoudAshraf97 MahmoudAshraf97 merged commit d1d7ae4 into ivy-llc:PaddlePaddle Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants