add autotests for modules (#5666)
* rewrite arange * rewrite argwhere * argwhere tensor testcase * rewrite argmax test * fix replicationpad2d padding size check * rewrite replicationpad2d test * rewrite layernorm test * rewrite instantnorm123d test * refine params to size_t * fix comments * refine test case * auto format by CI * auto format by CI Co-authored-by:oneflow-ci-bot <ci-bot@oneflow.org> Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- python/oneflow/nn/modules/padding.py 9 additions, 18 deletionspython/oneflow/nn/modules/padding.py
- python/oneflow/test/modules/test_arange.py 12 additions, 1 deletionpython/oneflow/test/modules/test_arange.py
- python/oneflow/test/modules/test_argmax.py 9 additions, 0 deletionspython/oneflow/test/modules/test_argmax.py
- python/oneflow/test/modules/test_argwhere.py 9 additions, 0 deletionspython/oneflow/test/modules/test_argwhere.py
- python/oneflow/test/modules/test_instancenorm.py 64 additions, 0 deletionspython/oneflow/test/modules/test_instancenorm.py
- python/oneflow/test/modules/test_normalization.py 20 additions, 0 deletionspython/oneflow/test/modules/test_normalization.py
- python/oneflow/test/modules/test_replicationpad2d.py 14 additions, 0 deletionspython/oneflow/test/modules/test_replicationpad2d.py
- python/oneflow/test/tensor/test_tensor.py 18 additions, 0 deletionspython/oneflow/test/tensor/test_tensor.py
Please register or sign in to comment