MCPcopy
hub / github.com/OpenPPL/ppq / optimize

Method optimize

ppq/quantization/optim/morph.py:213–216  ·  view source on GitHub ↗
(self, graph: BaseGraph,
                 dataloader: Iterable, executor: BaseGraphExecutor, **kwargs)

Source from the content-addressed store, hash-verified

211
212 # Implementation of Gemm Split will move to IR.morph soon.
213 def optimize(self, graph: BaseGraph,
214 dataloader: Iterable, executor: BaseGraphExecutor, **kwargs) -> None:
215 morpher = GraphDecomposer(graph)
216 morpher.decompose_gemm()
217
218
219class GRUSplitPass(QuantizationOptimizationPass):

Callers

nothing calls this directly

Calls 2

decompose_gemmMethod · 0.95
GraphDecomposerClass · 0.90

Tested by

no test coverage detected