ivy-llc / ivy

Convert Machine Learning Code Between Frameworks
https://ivy.dev
Other
14.02k stars 5.74k forks source link

Add Tensor Instance Methods to Paddle Frontend #15115

Open hmahmood24 opened 1 year ago

hmahmood24 commented 1 year ago

Add Tensor Instance Methods to PaddlePaddle Frontend

Please keep in mind that the proper way to link an issue to this list is to comment "- [ ] #issue_number" while the issue's title only includes the name of the function you've chosen. Dunder Methods

Please note that the following instance methods are supposed to be added to the paddle.tensor.tensor.Tensor class under # Special Methods #.

Please note that the following instance methods are supposed to be added to the paddle.tensor.tensor.Tensor class.

rohinish404 commented 1 year ago
MuhammadNizamani commented 1 year ago

@hmahmood24 I wanted to bring an issue to your attention regarding the file "paddle.tensor.tensor.Tensor." While examining the contents of this file, I noticed that it only contains three instance methods, namely "reshape," "dim," and "abs." However, I came across references to the methods "sinh" and "asinh," which seem to be missing from the file and above list marked them done. So can you explain this I am asking this because I am new in this repo I may have miss something. These method are used math.py with other trigonometrical function. best wishes

Tman123mk commented 1 year ago

16146

zuhair997 commented 1 year ago

[add_]#16530

JagjeetSunghera commented 1 year ago

argsort #16572

hmahmood24 commented 1 year ago

This ToDo list has been locked and kept internal for now. The reason being that we want to first finish implementing functions in other submodules in the Paddle frontend before moving towards writing the instance methods for paddle.Tensor since the instance methods themselves depend on functions from other submodules. This list will be unlocked and be open to contributions once we're finished with other ToDo lists for the Paddle frontend which can be found here: https://github.com/unifyai/ivy/issues?q=is%3Aopen+is%3Aissue+label%3AToDo+label%3A%22Paddle+Frontend%22. Thank you :)

AnnaTz commented 1 year ago

This ToDo list has been locked and kept internal for now. The reason being that we want to first finish implementing functions in other submodules in the Paddle frontend before moving towards writing the instance methods for paddle.Tensor since the instance methods themselves depend on functions from other submodules. This list will be unlocked and be open to contributions once we're finished with other ToDo lists for the Paddle frontend which can be found here: https://github.com/unifyai/ivy/issues?q=is%3Aopen+is%3Aissue+label%3AToDo+label%3A%22Paddle+Frontend%22. Thank you :)

Ivy functions can be used temporarily in cases where the corresponding paddle function has not been implemented yet. Kindly take care to convert the result with paddle_frontend.Tensor before returning it. Thanks :)

zuhair997 commented 1 year ago
#20345
samthakur587 commented 1 year ago
samthakur587 commented 1 year ago
samthakur587 commented 1 year ago
AliTarekk commented 1 year ago
AliTarekk commented 1 year ago
he11owthere commented 1 year ago

@hmahmood24, since the flatten issue was closed without any merged PR, I took the initiative to address it by creating a new issue and submitting a pull request. Thank you!

AW786WA commented 1 year ago

23701

AW786WA commented 1 year ago

17745

AW786WA commented 1 year ago

25934

Maxwel-ondieki commented 1 year ago

155115

Bhargav4223 commented 1 year ago

26319

Mac16661 commented 1 year ago

26593

Usama4745 commented 1 year ago
MuhammadNizamani commented 1 year ago
parteekcoder commented 1 year ago
softClaws commented 1 year ago
imsoumya18 commented 1 year ago
blacknightshy commented 1 year ago

25938

J0SAL commented 1 year ago

27014

boopathiviky commented 1 year ago

27151