onnx-tensorflow icon indicating copy to clipboard operation
onnx-tensorflow copied to clipboard

How does onnx to tensorflow conversion happen ?

Open hitesh-hitu opened this issue 4 years ago • 1 comments

I was reading about the conversion of pytorch to onnx, the conversion happens because of a parser which takes the dummy input into the pytorch model and looks for the flow and generates a model with similar flow in onnx format.

I'm keen on knowing how onnx to tensorflow conversion happens at the backend, can anyone explain the same please ?

hitesh-hitu avatar Feb 17 '21 03:02 hitesh-hitu

The onnx-tf converter takes an onnx model graph and converts node by node to a Tensorflow graph. The converted graph/model can be saved as a Tensorflow SavedModel and used for inference.

chinhuang007 avatar Mar 25 '21 17:03 chinhuang007