(self, *args, tensor_type, tensor_shape, patches=[], **kwargs)
| 46 | Main tensor-like class for storing quantized weights |
| 47 | """ |
| 48 | def __init__(self, *args, tensor_type, tensor_shape, patches=[], **kwargs): |
| 49 | super().__init__() |
| 50 | self.tensor_type = tensor_type |
| 51 | self.tensor_shape = tensor_shape |
| 52 | self.patches = patches |
| 53 | |
| 54 | def __new__(cls, *args, tensor_type, tensor_shape, patches=[], **kwargs): |
| 55 | return super().__new__(cls, *args, **kwargs) |