bugfix: reshape op infer dim0 size; and look up tensorflow reshape (#2085)
* bugfix: reshape op infer dim0 size; and look up tensorflow reshape * refine code for read * check py if and test
Showing
- oneflow/core/operator/op_conf.proto 1 addition, 1 deletiononeflow/core/operator/op_conf.proto
- oneflow/core/operator/reshape_op.cpp 14 additions, 2 deletionsoneflow/core/operator/reshape_op.cpp
- oneflow/python/ops/array_ops.py 15 additions, 0 deletionsoneflow/python/ops/array_ops.py
- oneflow/python/test/reshape.py 21 additions, 0 deletionsoneflow/python/test/reshape.py
Please register or sign in to comment