Skip to content

Commit b9ee6a2

Browse files
【Hackathon No.25】为 Paddle 新增 nanquantile 数学计算API (#41343)
1 parent 2eac4db commit b9ee6a2

File tree

5 files changed

+455
-304
lines changed

5 files changed

+455
-304
lines changed

python/paddle/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@
329329
from .tensor.stat import numel # noqa: F401
330330
from .tensor.stat import median # noqa: F401
331331
from .tensor.stat import quantile # noqa: F401
332+
from .tensor.stat import nanquantile # noqa: F401
332333
from .device import get_cudnn_version # noqa: F401
333334
from .device import set_device # noqa: F401
334335
from .device import get_device # noqa: F401
@@ -495,6 +496,7 @@
495496
'numel',
496497
'median',
497498
'quantile',
499+
'nanquantile',
498500
'no_grad',
499501
'set_grad_enabled',
500502
'is_grad_enabled',

python/paddle/fluid/tests/unittests/test_quantile.py

Lines changed: 0 additions & 236 deletions
This file was deleted.

0 commit comments

Comments
 (0)