MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

backends/nxp/quantizer/patterns.py:838–844  ·  view source on GitHub ↗
(self, neutron_quantizer, is_qat: bool = False)

Source from the content-addressed store, hash-verified

836
837class MmPattern(QuantizationPattern):
838 def __init__(self, neutron_quantizer, is_qat: bool = False):
839 super().__init__(is_qat=is_qat)
840
841 self.neutron_quantizer = neutron_quantizer
842 self.neutron_target_info = (
843 self.neutron_quantizer.neutron_target_spec.neutron_target_info
844 )
845
846 def partition_types(self) -> list[OpOverload]:
847 return [torch.ops.aten.mm.default]

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected