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

Class QuantizeOperationCommand

ppq/IR/base/command.py:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138
139class QuantizeOperationCommand(GraphCommand):
140 def __init__(self, op_name: str, target_platform: TargetPlatform, config: OperationQuantizationConfig) -> None:
141 super().__init__(command_type=GraphCommandType.QUANTIZE_OPERATION)
142 self.op_name = op_name
143 self.target_platform = target_platform
144 self.config = config
145
146
147class ReplaceOperationCommand(GraphCommand):

Callers 1

quantize_operationMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected