QuantizedModule#

class QuantizedModule(name=None)[source]#

Base class of quantized Module, which should be converted from QATModule and not support traning.

abstract classmethod from_qat_module(qat_module)[source]#

Return a QATModule instance converted from a float Module instance.