Updated PyTorch ONNX exporter (markdown)

Ti-Tai Wang
2022-09-12 09:48:49 -07:00
parent b2d21ce475
commit abf6070f11

@ -131,14 +131,14 @@ You should be able to run these commands successfully:
```sh
python setup.py develop
python test/onnx/test_pytorch_onnx_onnxruntime.py TestONNXRuntime_opset10.test_arithmetic_prim_long
pytest -svk test_arithmetic_prim_long test/onnx/test_pytorch_onnx_onnxruntime.py
```
And this should fail:
```sh
echo "assert False" >> torch/onnx/utils.py
python test/onnx/test_pytorch_onnx_onnxruntime.py TestONNXRuntime_opset10.test_arithmetic_prim_long
pytest -svk test_arithmetic_prim_long test/onnx/test_pytorch_onnx_onnxruntime.py
git restore torch/onnx/utils.py
```