Hi everybody,

I have an onnx model that I want to import into tvm. For the following snippet 
code I've got the error:

    ...
    shape_dict = {'input_16': (1,128,3)}
    onnx_model = onnx.load('./mymodel.onnx')
    sym, params = relay.frontend.from_onnx(onnx_model,shape_dict)

Error: Check failed: !checked_type.defined() == false: Expected Array[IntImm], 
but got relay.Var

Do you have any idea about the error I've got from onnx frontend? I couldn't 
find any similar issue in the forum.

Thanks in advance





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/frontend-from-onnx-causes-error-expected-array-intimm-but-got-relay-var/10414/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/edb5b065de5867909e8d1579ce8023d058ec7f62ceb63c831e5abd85b793fce8).

Reply via email to