Updated PyTorch ONNX exporter (markdown)

Justin Chu
2022-05-25 09:53:57 -07:00
parent 441f0245a7
commit 19ab05ac9d

@ -266,6 +266,12 @@ You can use `pytest` to run tests in parallel and generate a coverage report.
python -m pytest -n auto --cov --cov-report "xml:test/coverage.xml" test/onnx/test_pytorch_onnx_onnxruntime.py
```
To test everything minus caffe2 and gpu tests, use
```sh
python -m pytest -n auto --cov --cov-report "xml:test/coverage.xml" --ignore "test/onnx/test_pytorch_onnx_caffe2.py" --ignore "test/onnx/test_pytorch_onnx_caffe2_quantized.py" --ignore "test/onnx/test_caffe2_common.py" --ignore "test/onnx/test_pytorch_onnx_onnxruntime_cuda.py"
```
# Links
- [User-facing docs](https://pytorch.org/docs/master/onnx.html).