[add] zeropad2d (#5278)
* add zeropad2d and testcase
* add doctest
* doctest edit
* delete h,w if-else
* add docs
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- docs/source/experimental.rst 1 addition, 0 deletionsdocs/source/experimental.rst
- oneflow/python/nn/modules/zeropad2d.py 128 additions, 0 deletionsoneflow/python/nn/modules/zeropad2d.py
- oneflow/python/test/modules/test_zeropad2d.py 116 additions, 0 deletionsoneflow/python/test/modules/test_zeropad2d.py
oneflow/python/nn/modules/zeropad2d.py
0 → 100644
Please register or sign in to comment