Support create cpu only tensor (#4863)
* support create cpu tensor
* add empty op
* remove skip tensor test case:
* remove skip tensor test case
* remove TODO
Co-authored-by:
oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
- oneflow/core/framework/op_expr_helper.cpp 11 additions, 0 deletionsoneflow/core/framework/op_expr_helper.cpp
- oneflow/core/framework/op_expr_helper.h 3 additions, 0 deletionsoneflow/core/framework/op_expr_helper.h
- oneflow/core/framework/op_interpreter/eager_mirrored_op_interpreter.cpp 20 additions, 10 deletions...ramework/op_interpreter/eager_mirrored_op_interpreter.cpp
- oneflow/core/framework/op_interpreter/eager_mirrored_op_interpreter.h 5 additions, 1 deletion.../framework/op_interpreter/eager_mirrored_op_interpreter.h
- oneflow/core/framework/tensor.cpp 1 addition, 1 deletiononeflow/core/framework/tensor.cpp
- oneflow/python/test/tensor/test_tensor.py 4 additions, 5 deletionsoneflow/python/test/tensor/test_tensor.py
Please register or sign in to comment