(self, outputs: List[torch.Tensor], **kwargs)
| 32 | return inputs |
| 33 | |
| 34 | def post_forward_hook(self, outputs: List[torch.Tensor], **kwargs) -> list: |
| 35 | for tensor, var in zip(outputs, self._hook_to.outputs): |
| 36 | if tensor is not None: |
| 37 | var.shape = tensor.shape |
| 38 | var.dtype = tensor.dtype |
| 39 | |
| 40 | return outputs |
| 41 | |
| 42 | |
| 43 | class TorchQuantizeDelegator(Callable): |