Skip to content

Commit 36470e9

Browse files
justinchubypobin6
authored andcommitted
[ONNX] Update docstring typo in building (pytorch#140281)
The oprecorder docstring mistakenly referred to torchscript when it should say ONNX IR. Pull Request resolved: pytorch#140281 Approved by: https://github.com/titaiwangms
1 parent f6a7996 commit 36470e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/onnx/_internal/exporter/_building.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def _construct_node(
496496

497497

498498
class OpRecorder(evaluator.Evaluator):
499-
"""An onnxscript Evaluator that captures the graph into torchscript."""
499+
"""An onnxscript Evaluator that captures the graph into ONNX IR."""
500500

501501
def __init__(
502502
self, opset: onnxscript.values.Opset, constant_farm: dict[Any, ir.Value]

0 commit comments

Comments
 (0)