DequantStub

class DequantStub(**kwargs)[source]

A helper QATModule simply return input, but will de-quantize input after converted to QuantizedModule.

classmethod from_float_module(float_module)[source]

Return a QATModule instance converted from a float Module instance.