mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
[ONNX] Fix doc typo for symbolic_multi_out (#160702)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160702 Approved by: https://github.com/justinchuby
This commit is contained in:
parent
bbd11c4f23
commit
e299926f72
|
|
@ -208,7 +208,7 @@ def symbolic_multi_out(
|
||||||
|
|
||||||
# Create a symbolic ONNX operator with the name "CustomOp" in the "custom_domain" domain.
|
# Create a symbolic ONNX operator with the name "CustomOp" in the "custom_domain" domain.
|
||||||
# The output tensors will have the specified dtypes and shapes
|
# The output tensors will have the specified dtypes and shapes
|
||||||
(out1, out2) = torch.onnx.ops.symbolic(
|
(out1, out2) = torch.onnx.ops.symbolic_multi_out(
|
||||||
"custom_domain::CustomOp",
|
"custom_domain::CustomOp",
|
||||||
(x,),
|
(x,),
|
||||||
dict(attr_key="attr_value"),
|
dict(attr_key="attr_value"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user