-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
Description
需求描述 Feature Description
paddle早期版本模仿numpy指定tensor维度用的参数为axis,3.2版本模仿pytorch给不少函数的axis添加了别名dim,但还有不少函数的axis参数没有添加别名dim。希望保持参数一致性,给这些函数的把别名也加上去。以下是我统计的使用了axis参数但缺乏dim别名的函数列表:
count_nonzero
cummax
cummin
cumulative_trapezoid
flip
gather
index_add
index_add_
index_fill
index_fill_
kthvalue
logcumsumexp
max
min
mode
nanmean
nanmedian
nanquantile
nansum
put_along_axis
put_along_axis_
quantile
renorm
renorm_
select_scatter
sort
split
std
unflatten
unfold
unique
unstack
fft.fft
fft.hfft
fft.ifft
fft.ihfft
fft.irfft
fft.rfft
linalg.vecdot
linalg.vector_norm
替代实现 Alternatives
No response