After a Pytorch model is converted to ONNX and then loaded in onnxruntime.
For the idential input, it produces different results in ONNX model. (works in PyTorch)
Please refer to this reproducible notebook

  
      

      colab.research.google.com
  

  
    

Google Colaboratory 6