一个方便懒人的函数.
(self, expire_device: str = 'cpu')
| 318 | operation.dequantize(expire_device=expire_device) |
| 319 | |
| 320 | def restore_quantize_state(self, expire_device: str = 'cpu'): |
| 321 | """一个方便懒人的函数.""" |
| 322 | for operation in self.graph.operations.values(): |
| 323 | if isinstance(operation, QuantableOperation): |
| 324 | operation.restore_quantize_state(expire_device=expire_device) |
no outgoing calls
no test coverage detected