I have an onnx
model that I’m trying to convert to TVM. When compiling the onxx model with relay:
>>> input_name="features:0"
>>> shape_dict = {'features:0': (None, 104, 64)}
>>> mod, params = relay.frontend.from_onnx(onnx_model, shape_dict)
I’m getting the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tvm/python/tvm/relay/frontend/onnx.py", line 2748, in from_onnx
mod, params = g.from_onnx(graph, opset, freeze_params)
File "/home/tvm/python/tvm/relay/frontend/onnx.py", line 2529, in from_onnx
raise tvm.error.OpNotImplemented(msg)
tvm.error.OpNotImplemented: The following operators are not supported for frontend ONNX: Size