(self, tensor, shape)
| 82 | return t |
| 83 | |
| 84 | def restore_tensor(self, tensor, shape): |
| 85 | if tensor.shape == shape: |
| 86 | t = tensor |
| 87 | else: |
| 88 | t = tensor.reshape(shape) |
| 89 | return t |
| 90 | |
| 91 | def get_tensor_qparams(self, tensor): |
| 92 | tensor = self.reshape_tensor(tensor) |
no outgoing calls
no test coverage detected