tensorflow-onnx
tensorflow-onnx copied to clipboard
Add shape inference as an arg for tools/onnx-optimize.py
In https://github.com/onnx/tensorflow-onnx/blob/1915fb52270856debc74ba5d28e332e46ccc1e1a/tools/onnx-optimize.py#L59 the optimizer.optimize_graph()
method would eliminate infered shape.
This PR adds the shape inference after model optimized.
Signed-off-by: Deyu Huang [email protected]
An example node change.