Output of AutoencoderKL encoding method. Args: latent_dist (`FlaxDiagonalGaussianDistribution`): Encoded outputs of `Encoder` represented as the mean and logvar of `FlaxDiagonalGaussianDistribution`. `FlaxDiagonalGaussianDistribution` allows for sampling lat
| 46 | |
| 47 | @flax.struct.dataclass |
| 48 | class FlaxAutoencoderKLOutput(BaseOutput): |
| 49 | """ |
| 50 | Output of AutoencoderKL encoding method. |
| 51 | |
| 52 | Args: |
| 53 | latent_dist (`FlaxDiagonalGaussianDistribution`): |
| 54 | Encoded outputs of `Encoder` represented as the mean and logvar of `FlaxDiagonalGaussianDistribution`. |
| 55 | `FlaxDiagonalGaussianDistribution` allows for sampling latents from the distribution. |
| 56 | """ |
| 57 | |
| 58 | latent_dist: "FlaxDiagonalGaussianDistribution" |
| 59 | |
| 60 | |
| 61 | class FlaxUpsample2D(nn.Module): |