(self, x)
| 444 | print(f"Restored from {path}") |
| 445 | |
| 446 | def encode(self, x): |
| 447 | h = self.encoder(x) |
| 448 | moments = self.quant_conv(h) |
| 449 | posterior = DiagonalGaussianDistribution(moments) |
| 450 | return posterior |
| 451 | |
| 452 | def decode(self, z): |
| 453 | z = self.post_quant_conv(z) |
no test coverage detected