Open iamjameskeane opened 2 years ago
Hi! So each instance method needs to be added to: ivy/functional/frontends/numpy/ndarray.py
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 :)
@jkeane508 Please mark reshape
& transpose
as completed.
@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
Subtask ptp for Instance Methods to NumPy Frontend https://github.com/unifyai/ivy/issues/3607
Subtask byteswap https://github.com/unifyai/ivy/issues/13433 for Instance Methods to NumPy Frontend https://github.com/unifyai/ivy/issues/3607
flat #14766
Trace #15751
Add Instance Methods to NumPy Frontend #3607
@jkeane508 I'm working on argpartition (#23024). Could you please update the to-do list?
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. _
4886
4887
argmax argmin argpartition
27052
argsort astype
23782
23331
6803
19001
15082
22583
6023
6008
6009
diagonal
11502
16534
6859
getfield
15453
26921
max
6268
min newbyteorder
6025
partition
13043
ptp
25896
6026
6029
reshape
10764
22192
6034
23184
6858
6022
6036
std
22203
swapaxes
6857
23150
10464
tofile
11758
14000
18013
4172
21949
view
6313
6312
6311
6310
6309
6308
6307
6305
6306
7056
18284
6095
6096
6098
7189
__floordiv__
10660
22230
__pow__
19478
16182
6107
6106
6103
6843
6844
6845
9007
10308
6885
6846
24614
24938
6847
6848
6849
6094
6108
14722
23788
__setstate__ __new__ __array__
14772
9948
__getitem__ __setitem__
6842
__int__
6839
14190
22397
7455
__class_getitem__
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