Skip to content

Commit f9ac5b5

Browse files
committed
fix ONNX RUNTIME in comments and opsets names
1 parent 16854f2 commit f9ac5b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

beginner_source/onnx/export_simple_model_to_onnx_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def forward(self, x: torch.Tensor):
176176

177177
onnxruntime_input = {input_arg.name: input_value for input_arg, input_value in zip(ort_session.get_inputs(), onnx_inputs)}
178178

179-
# onnxruntime returns a list of outputs
179+
# ONNX Runtime returns a list of outputs
180180
onnxruntime_outputs = ort_session.run(None, onnxruntime_input)[0]
181181

182182
####################################################################

beginner_source/onnx/intro_onnx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
2828
When setting ``dynamo=True``, the exporter will use `torch.export <https://pytorch.org/docs/stable/export.html>`_ to capture an ``ExportedProgram``,
2929
before translating the graph into ONNX representations. This approach is the new and recommended way to export models to ONNX.
30-
It works with PyTorch 2.0 features more robustly, has better support for newer ONNX opsets, and consumes less resources
30+
It works with PyTorch 2.0 features more robustly, has better support for newer ONNX operator sets, and consumes less resources
3131
to make exporting larger models possible.
3232
3333
Dependencies

0 commit comments

Comments
 (0)