Browse Source

docs(mge/quantization): fix wrong unexpected unindent in docstring

GitOrigin-RevId: e604bcebb2
tags/v1.3.0
Megvii Engine Team 4 years ago
parent
commit
1670a8cf96
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      imperative/python/megengine/quantization/fake_quant.py

+ 2
- 2
imperative/python/megengine/quantization/fake_quant.py View File

@@ -75,7 +75,7 @@ class TQT(_FakeQuantize, QParamsModuleMixin):
for Accurate and Efficient Fixed-Point Inference of Deep Neural Networks.

:param dtype: a string or :class:`~.QuantDtypeMeta` indicating the target
quantization dtype of input.
quantization dtype of input.
:param enable: whether do ``normal_forward`` or ``fake_quant_forward``.
"""

@@ -106,7 +106,7 @@ class FakeQuantize(_FakeQuantize):
A module to do quant and dequant according to observer's scale and zero_point.

:param dtype: a string or :class:`~.QuantDtypeMeta` indicating the target
quantization dtype of input.
quantization dtype of input.
:param enable: whether do ``normal_forward`` or ``fake_quant_forward``.
"""



Loading…
Cancel
Save