(self, h, force_not_quantize=False)
| 271 | return h |
| 272 | |
| 273 | def decode(self, h, force_not_quantize=False): |
| 274 | # also go through quantization layer |
| 275 | if not force_not_quantize: |
| 276 | quant, emb_loss, info = self.quantize(h) |
| 277 | else: |
| 278 | quant = h |
| 279 | quant = self.post_quant_conv(quant) |
| 280 | dec = self.decoder(quant) |
| 281 | return dec |
nothing calls this directly
no outgoing calls
no test coverage detected