add randperm with test and docs (#5680)
* add randperm with test and docs
* format code
* format
* fix docs
* format the code and add more tests
* format code
* Update test_randperm.py
* Update randperm.py
* add head
* format codes
* docs
* Update test_randperm.py
* Update test_randperm.py
* add more tests
* format
* Update randperm.py
* Update randperm_kernel.cu
* Update randperm_kernel.cu
* Update randperm_kernel.cpp
* reconstruct the code
* format the code
* 2
* s
* 1
* 1
* refine
* add more test
* refine code
* fix according to comment
* add more test
Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
oneflow/user/ops/randperm_op.cpp
0 → 100644
想要评论请 注册 或 登录