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

Method __init__

backends/arm/quantizer/arm_quantizer_utils.py:246–256  ·  view source on GitHub ↗
(
        self,
        quantization_config: QuantizationConfig | None,
        node_finder: "NodeFinder",
        pattern_matcher: "PatternMatcher",
    )

Source from the content-addressed store, hash-verified

244 """
245
246 def __init__(
247 self,
248 quantization_config: QuantizationConfig | None,
249 node_finder: "NodeFinder",
250 pattern_matcher: "PatternMatcher",
251 ) -> None:
252 super().__init__()
253 QuantizerReporterUser.__init__(self)
254 self.quantization_config: QuantizationConfig | None = quantization_config
255 self.node_finder: "NodeFinder" = node_finder
256 self.pattern_matcher: "PatternMatcher" = pattern_matcher
257
258 def get_quantizer_info(self):
259 name = self.__class__.__name__

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected