Skip to content

Commit 99e65c9

Browse files
committed
added line to show code
1 parent 197e6b2 commit 99e65c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

prototype_source/fx_graph_mode_quant_guide.rst

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Symbolically trace only the code that needs to be quantized
3030
-----------------------------------------------------------------
3131
When the whole model is not symbolically traceable but the submodule we want to quantize is
3232
symbolically traceable, we can run quantization only on that submodule.
33+
3334
before:
3435

3536
.. code:: python
@@ -44,6 +45,7 @@ before:
4445
after:
4546

4647
.. code:: python
48+
4749
class FP32Traceable(nn.Module):
4850
def forward(self, x):
4951
x = traceable_code(x)

0 commit comments

Comments
 (0)