(self, x)
| 448 | self.model_ema(self) |
| 449 | |
| 450 | def encode(self, x): |
| 451 | h = self.encoder(x) |
| 452 | h = self.quant_conv(h) |
| 453 | quant, emb_loss, info = self.quantize(h) |
| 454 | return quant, emb_loss, info |
| 455 | |
| 456 | def encode_to_prequant(self, x): |
| 457 | h = self.encoder(x) |
no outgoing calls
no test coverage detected