Elemwise

class Elemwise(method, **kwargs)[source]

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

classmethod from_float_module(float_module)[source]

Return a QATModule instance converted from a float Module instance.