Elemwise

class Elemwise(method, **kwargs)[源代码]

A QATModule to do elemwise operator with QAT support. Could be applied with Observer and FakeQuantize.

classmethod from_float_module(float_module)[源代码]

返回从浮点型 Module 实例转换而来的 QATModule 实例。