Skip to content

Commit cfd095a

Browse files
fix typo
1 parent 1fb6c57 commit cfd095a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prototype_source/quantization_in_pytorch_2_0_export_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ tensor value should be observed, e.g. ``MinMaxObserver``, or ``HistogramObserver
149149
, or some customized observer.
150150

151151
``QuantizationAnnotation`` composed of ``QuantizationSpec`` objects is used to annotate input tensors
152-
and output tensor of a ``FX Node``. Annotating input tensors is equivalent of annotating input edges,
152+
and output tensor of a pattern. Annotating input tensors is equivalent of annotating input edges,
153153
while annotating output tensor is equivalent of annotating node. ``QuantizationAnnotation`` is a ``dataclass``
154154
with several fields:
155155

156156
- ``input_qspec_map`` field is of class ``Dict`` to map each input tensor (as input edge) to a ``QuantizationSpec``.
157157
- ``output_qspec`` field expresses the ``QuantizationSpec`` used to annotate the output tensor;
158158
- ``_annotated`` field indicates if this node has already been annotated by quantizer.
159159

160-
Thus annotation API requires quantizer to annotate edges (input tensors) or
160+
To conclude, annotation API requires quantizer to annotate edges (input tensors) or
161161
nodes (output tensor) of the graph. Now, we will have a step-by-step tutorial for
162162
how to use the annotation API with different types of ``QuantizationSpec``.
163163

0 commit comments

Comments
 (0)