MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / FlaxAutoencoderKLOutput

Class FlaxAutoencoderKLOutput

diffusers/src/diffusers/models/vae_flax.py:48–58  ·  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

46
47@flax.struct.dataclass
48class 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
61class FlaxUpsample2D(nn.Module):

Callers 1

encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected