export Tensor only to python (#5440)
* export Tensor only to python * address review comments * address review comments * refine * Update tensor_tuple_util.py fix bug * Update tensor.cpp fix bug * Update tensor.cpp fix bug * auto format by CI Co-authored-by:oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by:
clackhan <han_binbin@163.com> Co-authored-by:
oneflow-ci-bot <ci-bot@oneflow.org>
Showing
- oneflow/api/python/framework/tensor.cpp 94 additions, 102 deletionsoneflow/api/python/framework/tensor.cpp
- oneflow/core/framework/tensor.cpp 7 additions, 6 deletionsoneflow/core/framework/tensor.cpp
- oneflow/core/framework/tensor.h 11 additions, 36 deletionsoneflow/core/framework/tensor.h
- oneflow/python/framework/tensor.py 5 additions, 11 deletionsoneflow/python/framework/tensor.py
- oneflow/python/framework/tensor_tuple_util.py 5 additions, 5 deletionsoneflow/python/framework/tensor_tuple_util.py
- oneflow/python/nn/modules/eq.py 1 addition, 1 deletiononeflow/python/nn/modules/eq.py
- oneflow/python/nn/modules/ne.py 1 addition, 1 deletiononeflow/python/nn/modules/ne.py
Please register or sign in to comment