MCPcopy Create free account
hub / github.com/AlayaLab/Hive / AutoencoderKLOutput

Class AutoencoderKLOutput

models/flowsep/diffusers/models/autoencoder_kl.py:27–37  ·  view source on GitHub ↗

Output of AutoencoderKL encoding method. Args: latent_dist (`DiagonalGaussianDistribution`): Encoded outputs of `Encoder` represented as the mean and logvar of `DiagonalGaussianDistribution`. `DiagonalGaussianDistribution` allows for sampling latents f

Source from the content-addressed store, hash-verified

25
26@dataclass
27class AutoencoderKLOutput(BaseOutput):
28 """
29 Output of AutoencoderKL encoding method.
30
31 Args:
32 latent_dist (`DiagonalGaussianDistribution`):
33 Encoded outputs of `Encoder` represented as the mean and logvar of `DiagonalGaussianDistribution`.
34 `DiagonalGaussianDistribution` allows for sampling latents from the distribution.
35 """
36
37 latent_dist: "DiagonalGaussianDistribution"
38
39
40class AutoencoderKL(ModelMixin, ConfigMixin):

Callers 2

encodeMethod · 0.85
tiled_encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected