MCPcopy Index your code
hub / github.com/huggingface/diffusers / FlaxAutoencoderKLOutput

Class FlaxAutoencoderKLOutput

src/diffusers/models/vae_flax.py:50–60  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…