CoinCheung opened a new issue #4918: Please add support for ATen operator of 
onnx
URL: https://github.com/apache/incubator-tvm/issues/4918
 
 
   
   I export an onnx model from pytorch, and after running the command: 
   ```
       mod, params = relay.frontend.from_onnx(model, shape_dict, 
dtype='float32', opset=11)
   ```
   I met the error message of: 
   
    File "/root/build/tvm/python/tvm/relay/frontend/onnx.py", line 1863, in 
from_onnx
       mod, params = g.from_onnx(graph, opset)
   
     File "/root/build/tvm/python/tvm/relay/frontend/onnx.py", line 1666, in 
from_onnx
       raise tvm.error.OpNotImplemented(msg)
   
   tvm.error.OpNotImplemented: The following operators are not supported for 
frontend ONNX: ATen
   
   Would you please add support for this operator ? I think this operator is 
meaningful, since I got it from `mmdetection`. If we have better support for 
associated operators, many people would prefer tvm to deploy object detection 
models. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to