From abf6070f119486432bc3486bd4f4d8abfd98d6ad Mon Sep 17 00:00:00 2001 From: Ti-Tai Wang Date: Mon, 12 Sep 2022 09:48:49 -0700 Subject: [PATCH] Updated PyTorch ONNX exporter (markdown) --- PyTorch-ONNX-exporter.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyTorch-ONNX-exporter.md b/PyTorch-ONNX-exporter.md index 839b613..f55ecbd 100644 --- a/PyTorch-ONNX-exporter.md +++ b/PyTorch-ONNX-exporter.md @@ -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 ```