Skip to content

关于Sort中NaN后不排序 #40739

Closed
Closed
@Asthestarsfalll

Description

@Asthestarsfalll

在使用develop版本中发现paddle.sort对NaN之后的数据就不会再进行排序,在官方中文文档中也没有提及。是否要加入输入tensor中含有NaN的提醒,或者使用某些处理将Nan置于最后(类似于pytorch)
另外某些调用sort的API也会造成结果上的错误,比如quantile等,加入NaN的提醒或许对用户debug更友好。

Metadata

Metadata

Assignees

Labels

PFCCPaddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions