(self, x)
| 323 | print(f"Restored from {path}") |
| 324 | |
| 325 | def encode(self, x): |
| 326 | #print("this is called") -> called |
| 327 | h = self.encoder(x) |
| 328 | moments = self.quant_conv(h) |
| 329 | posterior = DiagonalGaussianDistribution(moments) |
| 330 | return posterior |
| 331 | |
| 332 | def decode(self, z): |
| 333 | z = self.post_quant_conv(z) |
no test coverage detected