(self, command: GraphCommand)
| 258 | |
| 259 | class 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 [ |
nothing calls this directly
no test coverage detected