(self, device=None, non_blocking=False)
| 111 | return new_instance |
| 112 | |
| 113 | def cuda(self, device=None, non_blocking=False): |
| 114 | device = "cuda" if device is None else device |
| 115 | self.quantizer.to(device, non_blocking=non_blocking) |
| 116 | return self.to(device, non_blocking=non_blocking) |
| 117 | |
| 118 | def to(self, *args, **kwargs): |
| 119 | """ |