align squeeze module with torch (#4855)
* align squeeze module with torch
* fix comment
* fix argmax bug
* fix bug
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- oneflow/python/nn/modules/argmax.py 1 addition, 1 deletiononeflow/python/nn/modules/argmax.py
- oneflow/python/nn/modules/loss.py 1 addition, 1 deletiononeflow/python/nn/modules/loss.py
- oneflow/python/nn/modules/squeeze.py 9 additions, 7 deletionsoneflow/python/nn/modules/squeeze.py
- oneflow/python/test/modules/test_squeeze.py 9 additions, 3 deletionsoneflow/python/test/modules/test_squeeze.py
Please register or sign in to comment