leeexyz opened a new pull request #9700:
URL: https://github.com/apache/tvm/pull/9700
Fix the error below
```python
File "~/tvm/python/tvm/contrib/target/onnx.py", line 1078, in to_onnx
onnx_model = converter.convert_to_onnx(func)
File "~/tvm/python/tvm/contrib/target/onnx.py", line 912, in
convert_to_onnx
return run_onnx_optimizer(model)
File "~/tvm/python/tvm/contrib/target/onnx.py", line 62, in
run_onnx_optimizer
return model
NameError: name 'model' is not defined
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]