add not_equal, greater_equal and less_equal module (#5350)
* add not_equal, greater_equal and less_equal module
* fix docs
* add hash method to Tensor
* remove __eq__ and __ne__ override
* fix doc
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- docs/source/experimental.rst 7 additions, 0 deletionsdocs/source/experimental.rst
- oneflow/core/functional/functional_api.yaml 12 additions, 0 deletionsoneflow/core/functional/functional_api.yaml
- oneflow/core/functional/impl/binary_functor.cpp 27 additions, 0 deletionsoneflow/core/functional/impl/binary_functor.cpp
- oneflow/python/framework/tensor.py 8 additions, 0 deletionsoneflow/python/framework/tensor.py
- oneflow/python/nn/modules/greater_equal.py 85 additions, 0 deletionsoneflow/python/nn/modules/greater_equal.py
- oneflow/python/nn/modules/less_equal.py 73 additions, 0 deletionsoneflow/python/nn/modules/less_equal.py
- oneflow/python/nn/modules/ne.py 83 additions, 0 deletionsoneflow/python/nn/modules/ne.py
- oneflow/python/test/modules/test_eq.py 38 additions, 2 deletionsoneflow/python/test/modules/test_eq.py
- oneflow/python/test/modules/test_greater_equal.py 104 additions, 0 deletionsoneflow/python/test/modules/test_greater_equal.py
- oneflow/python/test/modules/test_less_equal.py 100 additions, 0 deletionsoneflow/python/test/modules/test_less_equal.py
- oneflow/python/test/modules/test_ne.py 107 additions, 0 deletionsoneflow/python/test/modules/test_ne.py
Please register or sign in to comment