-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Add Tensor Instance Methods to Paddle Frontend #15115
Comments
@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. |
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 #.
__radd__ #27302
__sub__ #27304
__rsub__ #27321
__mul__ #27306
__rmul__ #27331
__div__ #27319
__truediv__
__rdiv__ #27337
__rtruediv__
__rtruediv__ #27812
__floordiv__ #27324
__pow__ #27246
__rpow__ #27332
__mod__ #27318
__matmul__ #27759
__gt__ #27308
__ge__ #27310
__lt__ #27465
__le__ #27312
__eq__ #27322
__ne__ #27323
__hash__
__bool__ #27327
__nonzero__ #27334
__neg__ #27333
__float__ #27330
__long__ #27432
__int__ #27326
__len__ #27329
__index__ #27328
__and__ #27325
__or__ #27315
__xor__ #27335
__invert__ #27780
Instance Methods
Please note that the following instance methods are supposed to be added to the paddle.tensor.tensor.Tensor class.
abs #15510
acos #25916
acosh #16007
add #25938
add_ #16643
add_n #25990
addmm #25985
all #17059
allclose #17082
amax #17138
amin #17547
angle #17807
any #17173
argmax #16194
argmin #22482
Argsort #16572
as_complex #26019
as_real #22489
asin #16043
asinh #16097
astype #17423
atan #19103
atanh #15908
backward #25961
bincount #18183
bitwise_and #17637
bitwise_not #17638
bitwise_or #16753
bitwise_xor #17414
bmm #26078
broadcast_shape #26195
broadcast_tensors #25869
broadcast_to #25739
bucketize #26222
cast #25930
ceil #15855
ceil_ #22484
cholesky #16464
cholesky_solve #26270
chunk #24169
clear_grad #26966
clip #17913
clip_ #22491
concat #26311
cond #18180
conj #18216
corrcoef #26828
cos #16312
cosh #16199
count_nonzero #26017
cov #22490
cross #23712
cumprod #17656
cumsum #17696
deg2rad #17653
diagonal #26377
diff #23701
digamma #23388
dist #25986
divide #17735
dot #17866
eig #17958
eigvals #25889
eigvalsh #26647
equal #17838
equal_all #17949
erf #16552
erfinv #26891
erfinv_ #26944
exp #16171
exp_ #22472
expand #26131
expand_as #26859
exponential_ #26229
fill_ #24440
fill_diagonal_ #26682
fill_diagonal_tensor #23739
fill_diagonal_tensor_ #26892
flatten #22582
flatten_ #26541
flip #26127
floor
floor_ #18189
floor_divide #17658
floor_mod #26502
fmax #17705
fmin #17706
frac #26271
gather #26436
gather_nd #23326
gcd #17655
gradient #26378
greater_equal #17745
greater_than #17776
heaviside #26492
histogram #26663
imag #18091
increment #26215
index_add #26830
#26831_
index_sample #26495
index_select #26660
inner #25405
inverse #25890
is_complex #26630
is_empty #26029
is_floating_point #17970
is_integer #25937
is_tensor #17963
isclose #18130
isfinite #17052
isinf #16990
isnan #17123
item #25892
kron #26005
kthvalue #26684
lcm #26272
lerp #22556
lerp_ #22557
less_equal #25977
less_than #17853
lgamma #26351
log #16236
log10 #16507
log1p #16519
log2 #16419
logcumsumexp #23525
logical_and #17734
logical_not #17455
logical_or #17596
logical_xor #17693
logit #17904
logsumexp #26890
lstsq #26945
lu #27158
lu_unpack
masked_select #26854
matmul #22596
matrix_power #26431
max #17619
maximum #17840
mean #25943
median #16639
min #17679
minimum #17829
mm #23740
mod #23633
mode #26381
moveaxis #26616
multi_dot #26907
multiplex
multiply #16623
mv #26958
nanmean #22510
nanmedian #22511
nanquantile #26799
nansum #22513
neg #16747
nonzero #23605
norm #23708
not_equal #25934
numel #16613
outer #25729
pow #22550
prod #23429
put_along_axis #23392
put_along_axis_ #26686
qr #26953
quantile #22577
rad2deg #17644
rank #25885
real #26022
reciprocal #17736
reciprocal_ #22297
register_hook #26833
remainder #22296
remainder_ #22543
repeat_interleave
reshape
reshape_ #22479
reverse #26780
roll #25727
rot90 #16746
round #26240
round_ #22480
rsqrt #17650
rsqrt_ #22478
scale #26950
scale_ #26986
scatter #26954
scatter_
scatter_nd
scatter_nd #26008
scatter_nd_add #27051
set_value
sgn #18239
shard_index
sign #18238
sin #16178
sinh #16321
slice #26336
solve
sort #17070
split #26476
sqrt #16366
sqrt_ #22414
square #16733
squeeze #22451
squeeze_ #22452
stack #23497
stanh #22301
std #17839
strided_slice #27136
subtract #16452
subtract_ #22465
sum #26144
t #26056
take #26508
take_along_axis #26700
tanh #16641
tanh_ #22298
tensordot #26674
tile #26118
to_dense #26823
to_sparse_coo
tolist #17948
topk #22554
trace #22555
transpose #26430
trunc #22508
unbind #26230
uniform_ #26701
unique #26297
unique_consecutive #26851
unsqueeze #22449
unsqueeze_ #22450
unstack #23498
values #26417
var #18302
where #26153
zero_ #22475
The text was updated successfully, but these errors were encountered: