(self, weight, bias, device)
| 26 | """Compressed Linear Layer.""" |
| 27 | |
| 28 | def __init__(self, weight, bias, device): |
| 29 | super().__init__() |
| 30 | |
| 31 | self.weight = compress(weight.data.to(device), default_compression_config) |
| 32 | self.bias = bias |
| 33 | |
| 34 | def forward(self, input: Tensor) -> Tensor: |
| 35 | weight = decompress(self.weight, default_compression_config) |
nothing calls this directly
no test coverage detected