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

Method __init__

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

Source from the content-addressed store, hash-verified

582
583class ConvTranspose2dPattern(QuantizationPattern):
584 def __init__(self, neutron_quantizer, is_qat: bool = False):
585 super().__init__(is_qat=is_qat)
586
587 self.neutron_quantizer = neutron_quantizer
588 self.neutron_target_info = (
589 self.neutron_quantizer.neutron_target_spec.neutron_target_info
590 )
591
592 def partition_types(self) -> list[OpOverload]:
593 return [torch.ops.aten.conv_transpose2d.input]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected