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

Method __init__

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

Source from the content-addressed store, hash-verified

488
489class Conv2dPattern(ConvPattern):
490 def __init__(self, neutron_quantizer, is_qat: bool = False):
491 super().__init__(is_qat=is_qat)
492
493 self.neutron_quantizer = neutron_quantizer
494 self.neutron_target_info = (
495 self.neutron_quantizer.neutron_target_spec.neutron_target_info
496 )
497
498 def partition_types(self) -> list[OpOverload]:
499 return [torch.ops.aten.conv2d.default]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected