ivy-llc / ivy

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

Add Instance Methods to NumPy Frontend #3607

Open iamjameskeane opened 2 years ago

iamjameskeane commented 2 years ago

Add Instance Methods to NumPy 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. _

The main file paths where these functions are likely to be added are:

ivy/functional/frontends/numpy/ndarray/ndarray.py ivy\_tests/test\_ivy/test\_frontends/test\_numpy/helpers.py ivy\_tests/test\_ivy/test\_frontends/test\_numpy/test\_ndarray/test\_ndarray.py ivy/functional/frontends/numpy/creation\_routines/from\_existing\_data.py ivy/functional/frontends/jax/devicearray.py ivy/functional/frontends/numpy/manipulation\_routines/changing\_array\_shape.py ivy/functional/frontends/numpy/sorting\_searching\_counting/searching.py ivy/functional/backends/tensorflow/linear\_algebra.py ivy/functional/frontends/numpy/manipulation\_routines/transpose\_like\_operations.py ivy\_tests/test\_ivy/test\_frontends/test\_numpy/test\_manipulation\_routines/test\_transpose\_like\_operations.py

NicAOB97 commented 2 years ago

Hi! So each instance method needs to be added to: ivy/functional/frontends/numpy/ndarray.py

iamjameskeane commented 2 years ago

Hi! So each instance method needs to be added to: ivy/functional/frontends/numpy/ndarray.py

They should be implemented in ivy/functional/frontends/numpy/ndarray/ndarray.py as documented here :)

hello-fri-end commented 1 year ago

@jkeane508 Please mark reshape & transpose as completed.

hello-fri-end commented 1 year ago

@jkeane508 @Aarsh2001 Looks like there's some overlap in the tasks in #1537 and this issue. Some of the tasks mentioned here (e.g reshape, transpose, swapaxes, etc.) are already completed/tracked in #1537

hoanganhminh01 commented 1 year ago
EdisonLeung commented 1 year ago
indrawatideasy commented 1 year ago

Subtask ptp for Instance Methods to NumPy Frontend https://github.com/unifyai/ivy/issues/3607

indrawatideasy commented 1 year ago

Subtask byteswap https://github.com/unifyai/ivy/issues/13433 for Instance Methods to NumPy Frontend https://github.com/unifyai/ivy/issues/3607

indrawatideasy commented 1 year ago
indrawatideasy commented 1 year ago
AsmaaMHadir commented 1 year ago

flat #14766

bahbah94 commented 1 year ago

Trace #15751

gaurav3247 commented 1 year ago

round https://github.com/unifyai/ivy/issues/13015

GabrielMazzali commented 1 year ago

19535

jaysilver-5 commented 1 year ago

20870

Ramzan-Ali12 commented 1 year ago

Add Instance Methods to NumPy Frontend #3607

vincenzofanizza commented 1 year ago

@jkeane508 I'm working on argpartition (#23024). Could you please update the to-do list?

manny-uncharted commented 1 year ago