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

Method quantize

backends/test/harness/tester.py:209–213  ·  view source on GitHub ↗
(self, quantize_stage: Optional[Quantize] = None)

Source from the content-addressed store, hash-verified

207
208 # Stages
209 def quantize(self, quantize_stage: Optional[Quantize] = None):
210 return self._run_stage(
211 quantize_stage or self._get_default_stage(StageType.QUANTIZE),
212 self.example_inputs,
213 )
214
215 def export(self, export_stage: Optional[Export] = None):
216 return self._run_stage(

Callers 15

_testMethod · 0.95
_test_dqMethod · 0.95
_test_catMethod · 0.95
_test_linearMethod · 0.95
_test_dqlinearMethod · 0.95
_test_linearMethod · 0.95
test_dialectMethod · 0.45
test_implementationMethod · 0.45

Calls 2

_run_stageMethod · 0.95
_get_default_stageMethod · 0.95

Tested by

no test coverage detected