luyaor opened a new issue, #12734: URL: https://github.com/apache/tvm/issues/12734
### Expected behavior When feed the same input into the same model, one in TVM, another in ONNXRuntime, we supposed that their results are the same. <img width="388" alt="image" src="https://user-images.githubusercontent.com/7541296/189096739-25ecb6d9-5368-479d-92a0-39d01d8afd21.png"> ### Actual behavior TVM's result is not aligned with ONNXRuntime's (the shape of output tensor is different). ONNXRuntime: ``` [array([[ 2.6177902 , 1. , -0.873482 , 1.9409859 , 1.766757 , -0.53547204, -0.16376647, 0.4463795 , 1.7661378 , 1.9461765 , 1.2478232 , 1.899035 ]], dtype=float32)] ``` TVM: ``` [[ 2.6177902 1. -0.873482 1.9409859 1.766757 -0.53547204 -0.16376647 0.4463795 1.7661378 1.9461765 -0.436741 0.97049296 0.8833785 -0.26773602 -0.08188324 0.22318976 0.8830689 0.97308826]] ``` ### Environment TVM v0.9 ### Steps to reproduce 1. set up Python 3 environment with TVM(v0.9), numpy, onnx, onnxruntime 2. Download [bug-no1.zip](https://github.com/apache/tvm/files/9525949/bug-no1.zip) 3. ```python check.py``` -- 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]
