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

Method __init__

backends/nxp/quantizer/patterns.py:229–235  ·  view source on GitHub ↗
(self, neutron_quantizer, is_qat: bool)

Source from the content-addressed store, hash-verified

227
228class AddmmPattern(QuantizationPattern):
229 def __init__(self, neutron_quantizer, is_qat: bool):
230 super().__init__(is_qat=is_qat)
231
232 self.neutron_quantizer = neutron_quantizer
233 self.neutron_target_info = (
234 self.neutron_quantizer.neutron_target_spec.neutron_target_info
235 )
236
237 def partition_types(self) -> list[OpOverload]:
238 return [torch.ops.aten.addmm.default]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected