onnx / onnx-tensorflow

Tensorflow Backend for ONNX
Other
1.27k stars 296 forks source link

com.microsoft::FusedMatMul operator not implemented? #1069

Open MG-EuS opened 11 months ago

MG-EuS commented 11 months ago

I have an onnx model that was exported form pytorch with opset_version=14. Now I try to convert it to tensorflow like this

import onnx
from onnx_tf.backend import prepare

onnx_model = onnx.load("my_model.onnx")
tf_rep = prepare(onnx_model)
tf_rep.export_graph('./tf_export/my_model')

but it produces the error message

...
raise BackendIsNotSupposedToImplementIt("{} is not implemented.".format(

    BackendIsNotSupposedToImplementIt: FusedMatMul is not implemented.

So it tells me that the operation com.microsoft::FusedMatMul is not supported by onnx-tf, right?

What can I do from here? Are non oft the com.microsoft operators implemented?