ivy icon indicating copy to clipboard operation
ivy copied to clipboard

Add Tensor Instance Methods to Paddle Frontend

Open hmahmood24 opened this issue 1 year ago • 28 comments

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 #.

  • [x] #27302
  • [ ] #27304
  • [x] #27321
  • [x] #27306
  • [x] #27331
  • [ ] #27319
  • [ ] __truediv__
  • [x] #27337
  • [ ] __rtruediv__
  • [x] #27324
  • [ ] #27246
  • [ ] #27332
  • [ ] #27318
  • [ ] #27759
  • [x] #27308
  • [x] #27310
  • [x] #27465
  • [x] #27312
  • [ ] #27322
  • [x] #27323
  • [ ] __hash__
  • [ ] #27327
  • [x] #27334
  • [x] #27333
  • [x] #27330
  • [x] #27432
  • [x] #27326
  • [x] #27329
  • [x] #27328
  • [x] #27325
  • [x] #27315
  • [x] #27335
  • [x] #27780

Instance Methods

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

  • [x] #15510
  • [x] #25916
  • [x] #16007
  • [x] #25938
  • [x] #16643
  • [x] #25990
  • [x] #25985
  • [x] #17059
  • [x] #17082
  • [x] #17138
  • [x] #17547
  • [x] #17807
  • [x] #17173
  • [x] #16194
  • [x] #22482
  • [x] #16572
  • [x] #26019
  • [x] #22489
  • [x] #16043
  • [x] #16097
  • [x] #17423
  • [x] #19103
  • [x] #15908
  • [x] #25961
  • [ ] #18183
  • [x] #17637
  • [x] #17638
  • [x] #16753
  • [x] #17414
  • [x] #26078
  • [ ] #26195
  • [ ] #25869
  • [x] #25739
  • [x] #26222
  • [x] #25930
  • [x] #15855
  • [x] #22484
  • [x] #16464
  • [ ] #26270
  • [x] #24169
  • [x] #26966
  • [x] #17913
  • [x] #22491
  • [x] #26311
  • [x] #18180
  • [x] #18216
  • [x] #26828
  • [x] #16312
  • [x] #16199
  • [ ] #26017
  • [ ] #22490
  • [x] #23712
  • [x] #17656
  • [x] #17696
  • [x] #17653
  • [x] #26377
  • [ ] #23701
  • [x] #23388
  • [x] #25986
  • [x] #17735
  • [x] #17866
  • [ ] #17958
  • [x] #25889
  • [x] #26647
  • [x] #17838
  • [x] #17949
  • [x] #16552
  • [x] #26891
  • [x] #26944
  • [x] #16171
  • [x] #22472
  • [x] #26131
  • [ ] #26859
  • [x] #26229
  • [x] #24440
  • [x] #26682
  • [x] #23739
  • [ ] #26892
  • [x] #22582
  • [x] #26541
  • [ ] #26127
  • [x] floor
  • [x] #18189
  • [x] #17658
  • [x] #26502
  • [x] #17705
  • [x] #17706
  • [x] #26271
  • [x] #26436
  • [ ] #23326
  • [x] #17655
  • [x] #26378
  • [ ] #17745
  • [x] #17776
  • [x] #26492
  • [ ] #26663
  • [x] #18091
  • [ ] #26215
  • [x] #26830
  • [ ] #26831_
  • [ ] #26495
  • [x] #26660
  • [x] #25405
  • [x] #25890
  • [x] #26630
  • [ ] #26029
  • [x] #17970
  • [ ] #25937
  • [x] #17963
  • [x] #18130
  • [x] #17052
  • [x] #16990
  • [x] #17123
  • [x] #25892
  • [ ] #26005
  • [ ] #26684
  • [ ] #26272
  • [x] #22556
  • [x] #22557
  • [x] #25977
  • [x] #17853
  • [ ] #26351
  • [x] #16236
  • [x] #16507
  • [x] #16519
  • [x] #16419
  • [ ] #23525
  • [x] #17734
  • [x] #17455
  • [x] #17596
  • [x] #17693
  • [x] #17904
  • [x] #26890
  • [x] #26945
  • [x] #27158
  • [ ] lu_unpack
  • [x] #26854
  • [x] #22596
  • [ ] #26431
  • [x] #17619
  • [x] #17840
  • [x] #25943
  • [x] #16639
  • [x] #17679
  • [x] #17829
  • [x] #23740
  • [x] #23633
  • [ ] #26381
  • [ ] #26616
  • [x] #26907
  • [ ] multiplex
  • [x] #16623
  • [x] #26958
  • [ ] #22510
  • [x] #22511
  • [x] #26799
  • [ ] #22513
  • [x] #16747
  • [x] #23605
  • [ ] #23708
  • [x] #25934
  • [x] #16613
  • [x] #25729
  • [x] #22550
  • [x] #23429
  • [x] #23392
  • [ ] #26686
  • [x] #26953
  • [ ] #22577
  • [x] #17644
  • [x] #25885
  • [x] #26022
  • [x] #17736
  • [x] #22297
  • [x] #26833
  • [x] #22296
  • [x] #22543
  • [ ] repeat_interleave
  • [x] reshape
  • [x] #22479
  • [x] #26780
  • [ ] #25727
  • [x] #16746
  • [x] #26240
  • [x] #22480
  • [x] #17650
  • [x] #22478
  • [x] #26950
  • [x] #26986
  • [x] #26954
  • [ ] scatter_
  • [x] #26008
  • [x] #27051
  • [ ] set_value
  • [x] #18239
  • [ ] shard_index
  • [x] #18238
  • [x] #16178
  • [x] #16321
  • [x] #26336
  • [ ] solve
  • [x] #17070
  • [x] #26476
  • [x] #16366
  • [x] #22414
  • [x] #16733
  • [x] #22451
  • [x] #22452
  • [ ] #23497
  • [x] #22301
  • [x] #17839
  • [ ] #27136
  • [x] #16452
  • [x] #22465
  • [ ] #26144
  • [x] #26056
  • [x] #26508
  • [x] #26700
  • [x] #16641
  • [x] #22298
  • [x] #26674
  • [x] #26118
  • [ ] #26823
  • [ ] to_sparse_coo
  • [x] #17948
  • [x] #22554
  • [x] #22555
  • [x] #26430
  • [x] #22508
  • [x] #26230
  • [ ] #26701
  • [x] #26297
  • [x] #26851
  • [x] #22449
  • [x] #22450
  • [ ] #23498
  • [x] #26417
  • [x] #18302
  • [x] #26153
  • [x] #22475

hmahmood24 avatar May 09 '23 18:05 hmahmood24

  • [ ] #15981

rohinish404 avatar May 28 '23 15:05 rohinish404

@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

MuhammadNizamani avatar May 29 '23 09:05 MuhammadNizamani

#16146

Tman123mk avatar Jun 01 '23 13:06 Tman123mk

[add_]#16530

zuhair997 avatar Jun 11 '23 12:06 zuhair997

argsort #16572

JagjeetSunghera avatar Jun 12 '23 09:06 JagjeetSunghera

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 :)

hmahmood24 avatar Jul 05 '23 05:07 hmahmood24

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 :)

AnnaTz avatar Jul 10 '23 15:07 AnnaTz

#20345

zuhair997 avatar Jul 24 '23 10:07 zuhair997

  • [ ] #22299

samthakur587 avatar Aug 21 '23 19:08 samthakur587

  • [ ] #22297

samthakur587 avatar Aug 25 '23 16:08 samthakur587

  • [ ] #22298

samthakur587 avatar Aug 25 '23 16:08 samthakur587

  • [ ] #22511

AliTarekk avatar Aug 25 '23 22:08 AliTarekk

  • [ ] #22513

AliTarekk avatar Aug 25 '23 22:08 AliTarekk

@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!

he11owthere avatar Aug 25 '23 22:08 he11owthere

#23701

AW786WA avatar Sep 23 '23 03:09 AW786WA

#17745

AW786WA avatar Sep 23 '23 07:09 AW786WA

#25934

AW786WA avatar Sep 23 '23 08:09 AW786WA

#155115

Maxwel-ondieki avatar Sep 27 '23 10:09 Maxwel-ondieki

#26319

Bhargav4223 avatar Sep 29 '23 12:09 Bhargav4223

#26593

Mac16661 avatar Oct 04 '23 16:10 Mac16661

  • [ ] #26700

Usama4745 avatar Oct 06 '23 14:10 Usama4745

  • [ ] #26774

MuhammadNizamani avatar Oct 08 '23 11:10 MuhammadNizamani

  • [ ] #26799

parteekcoder avatar Oct 09 '23 15:10 parteekcoder

  • [ ] #22596

softClaws avatar Oct 09 '23 21:10 softClaws

  • [ ] #26832

imsoumya18 avatar Oct 10 '23 02:10 imsoumya18

#25938

blacknightshy avatar Oct 12 '23 07:10 blacknightshy

#27014

J0SAL avatar Oct 14 '23 20:10 J0SAL

#27151

boopathiviky avatar Oct 27 '23 15:10 boopathiviky