MCPcopy Index your code
hub / github.com/OpenPPL/ppq / process

Method process

ppq/IR/quantize.py:260–264  ·  view source on GitHub ↗
(self, command: GraphCommand)

Source from the content-addressed store, hash-verified

258
259class QuantableGraph(GraphCommandProcessor):
260 def process(self, command: GraphCommand) -> Any:
261 if command.command_type == GraphCommandType.QUANTIZE_OPERATION:
262 assert isinstance(command, QuantizeOperationCommand)
263 return self.quantize_operation(
264 command.op_name, command.target_platform, command.config)
265
266 def _acceptable_command_types(self) -> List[GraphCommandType]:
267 return [

Callers

nothing calls this directly

Calls 1

quantize_operationMethod · 0.95

Tested by

no test coverage detected