(self, encodings: torch.Tensor)
| 228 | return self.quantizer.embed(embedding_indices=embedding_indices) |
| 229 | |
| 230 | def quantize(self, encodings: torch.Tensor) -> torch.Tensor: |
| 231 | output = self.quantizer(encodings) |
| 232 | encoding_indices: torch.Tensor = output[2] |
| 233 | return encoding_indices |
no outgoing calls