mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Remove reference to internals in torch.onnx in test (#17550)
- https://github.com/microsoft/onnxruntime/issues/11901
This commit is contained in:
parent
f969e7f8d8
commit
d350ab31d7
1 changed files with 1 additions and 3 deletions
|
|
@ -49,9 +49,7 @@ def ort_test_with_input(ort_sess, input, output, rtol, atol):
|
|||
# These set of tests verify ONNX model export and compares outputs between
|
||||
# PyTorch and ORT.
|
||||
class ONNXExporterTest(unittest.TestCase):
|
||||
from torch.onnx.symbolic_helper import _export_onnx_opset_version
|
||||
|
||||
opset_version = _export_onnx_opset_version
|
||||
opset_version = 17
|
||||
keep_initializers_as_inputs = True # For IR version 3 type export.
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue