Skip to content

Commit b9d09f3

Browse files
committed
/
1 parent c967f1d commit b9d09f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prototype_source/pt2e_quantizer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Example::
385385
name_node_map["conv"].meta["quantization_annotation"] = ...
386386
name_node_map["relu"].meta["quantization_annotation"] = ...
387387

388-
This should be easier to use than the original ``SubgraphMatcher``, however, it may not work if some of the operators are captured as multiple ops, e.g. if ``torch.nn.functional.conv2d`` is captured as multiple ops, then the inputs ``x``, ``weight``, ``bias`` may not be the direct inputs to the final operator marked by ``conv``, in this case we'll need to revert to the same way of access mentioned in the previous example.
388+
This should be easier to use than the original ``SubgraphMatcher`` around finding the node we want to annotate or use. However, it may not work if some of the operators are captured as multiple ops. For example, if ``torch.nn.functional.conv2d`` is captured as multiple ops, then the inputs ``x``, ``weight``, ``bias`` may not be the direct inputs to the final operator marked by ``conv``, in this case we'll need to revert to the same way of access mentioned in the previous example.
389389

390390
Example::
391391

0 commit comments

Comments
 (0)