import{s as sn,o as rn,n as nn}from"../chunks/scheduler.182ea377.js";import{S as an,i as ln,g as r,s as o,r as u,A as dn,h as a,f as s,c as n,j as v,u as f,x as b,k as $,y as t,a as c,v as p,d as m,t as g,w as h}from"../chunks/index.abf12888.js";import{T as on}from"../chunks/Tip.230e2334.js";import{D as x}from"../chunks/Docstring.93f6f462.js";import{C as cn}from"../chunks/CodeBlock.57fe6e13.js";import{H as q}from"../chunks/Heading.16916d63.js";function un(Ae){let _,D="This API is 🧪 experimental.";return{c(){_=r("p"),_.textContent=D},l(w){_=a(w,"P",{"data-svelte-h":!0}),b(_)!=="svelte-89q1io"&&(_.textContent=D)},m(w,M){c(w,_,M)},p:nn,d(w){w&&s(_)}}}function fn(Ae){let _,D="This API is 🧪 experimental.";return{c(){_=r("p"),_.textContent=D},l(w){_=a(w,"P",{"data-svelte-h":!0}),b(_)!=="svelte-89q1io"&&(_.textContent=D)},m(w,M){c(w,_,M)},p:nn,d(w){w&&s(_)}}}function pn(Ae){let _,D,w,M,G,lt,Z,Ao='The variational autoencoder (VAE) model with KL loss was introduced in <a href="https://arxiv.org/abs/1312.6114v11" rel="nofollow">Auto-Encoding Variational Bayes</a> by Diederik P. Kingma and Max Welling. The model is used in 🤗 Diffusers to encode images into latents and to decode latent representations into images.',it,S,Do="The abstract from the paper is:",dt,R,ko="<em>How can we perform efficient inference and learning in directed probabilistic models, in the presence of continuous latent variables with intractable posterior distributions, and large datasets? We introduce a stochastic variational inference and learning algorithm that scales to large datasets and, under some mild differentiability conditions, even works in the intractable case. Our contributions are two-fold. First, we show that a reparameterization of the variational lower bound yields a lower bound estimator that can be straightforwardly optimized using standard stochastic gradient methods. Second, we show that for i.i.d. datasets with continuous latent variables per datapoint, posterior inference can be made especially efficient by fitting an approximate inference model (also called a recognition model) to the intractable posterior using the proposed lower bound estimator. Theoretical advantages are reflected in experimental results.</em>",ct,Y,ut,B,Ko=`By default the <a href="/docs/diffusers/main/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a> should be loaded with <a href="/docs/diffusers/main/en/api/models/overview#diffusers.ModelMixin.from_pretrained">from_pretrained()</a>, but it can also be loaded
from the original format using <code>FromOriginalVAEMixin.from_single_file</code> as follows:`,ft,Q,pt,X,mt,i,ee,Pt,De,Co="A VAE model with KL loss for encoding images into latents and decoding latent representations into images.",jt,ke,Fo=`This model inherits from <a href="/docs/diffusers/main/en/api/models/overview#diffusers.ModelMixin">ModelMixin</a>. Check the superclass documentation for it’s generic methods implemented
for all models (such as downloading or saving).`,Ht,Ke,te,Jt,Ce,oe,Wt,O,ne,Ut,Fe,Eo=`Disable sliced VAE decoding. If <code>enable_slicing</code> was previously enabled, this method will go back to computing
decoding in one step.`,Nt,I,se,qt,Ee,Mo=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing
decoding in one step.`,Gt,V,re,Zt,Me,Oo=`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to
compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`,St,z,ae,Rt,Oe,Io=`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to
compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
processing larger images.`,Yt,Ie,le,Bt,k,ie,Qt,Ve,Vo=`Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value)
are fused. For cross-attention modules, key and value projection matrices are fused.`,Xt,P,eo,j,de,to,ze,zo="Sets the attention processor to use to compute attention.",oo,H,ce,no,Pe,Po="Disables custom attention processors and sets the default attention implementation.",so,J,ue,ro,je,jo="Decode a batch of images using a tiled decoder.",ao,K,fe,lo,He,Ho="Encode a batch of images using a tiled encoder.",io,Je,Jo=`When this option is enabled, the VAE will split the input tensor into tiles to compute encoding in several
steps. This is useful to keep memory use constant regardless of image size. The end result of tiled encoding is
different from non-tiled encoding because each tile uses a different encoder. To avoid tiling artifacts, the
tiles overlap and are blended together to form a smooth output. You may still see tile-sized changes in the
output, but they should be much less noticeable.`,co,C,pe,uo,We,Wo="Disables the fused QKV projection if enabled.",fo,W,gt,me,ht,F,ge,po,Ue,Uo="Output of AutoencoderKL encoding method.",bt,he,_t,E,be,mo,Ne,No="Output of decoding method.",vt,_e,$t,y,ve,go,qe,qo="Flax implementation of a VAE model with KL loss for decoding latent representations.",ho,Ge,Go=`This model inherits from <a href="/docs/diffusers/main/en/api/models/overview#diffusers.FlaxModelMixin">FlaxModelMixin</a>. Check the superclass documentation for it’s generic methods
implemented for all models (such as downloading or saving).`,bo,Ze,Zo=`This model is a Flax Linen <a href="https://flax.readthedocs.io/en/latest/flax.linen.html#module" rel="nofollow">flax.linen.Module</a>
subclass. Use it as a regular Flax Linen module and refer to the Flax documentation for all matter related to its
general usage and behavior.`,_o,Se,So="Inherent JAX features such as the following are supported:",vo,Re,Ro='<li><a href="https://jax.readthedocs.io/en/latest/jax.html#just-in-time-compilation-jit" rel="nofollow">Just-In-Time (JIT) compilation</a></li> <li><a href="https://jax.readthedocs.io/en/latest/jax.html#automatic-differentiation" rel="nofollow">Automatic Differentiation</a></li> <li><a href="https://jax.readthedocs.io/en/latest/jax.html#vectorization-vmap" rel="nofollow">Vectorization</a></li> <li><a href="https://jax.readthedocs.io/en/latest/jax.html#parallelization-pmap" rel="nofollow">Parallelization</a></li>',xt,$e,wt,T,xe,$o,Ye,Yo="Output of AutoencoderKL encoding method.",xo,U,we,wo,Be,Bo="“Returns a new object replacing the specified fields with new values.",yt,ye,Lt,A,Le,yo,Qe,Qo="Output of decoding method.",Lo,N,Te,To,Xe,Xo="“Returns a new object replacing the specified fields with new values.",Tt,rt,At;return G=new q({props:{title:"AutoencoderKL",local:"autoencoderkl",headingTag:"h1"}}),Y=new q({props:{title:"Loading from the original format",local:"loading-from-the-original-format",headingTag:"h2"}}),Q=new cn({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMEF1dG9lbmNvZGVyS0wlMEElMEF1cmwlMjAlM0QlMjAlMjJodHRwcyUzQSUyRiUyRmh1Z2dpbmdmYWNlLmNvJTJGc3RhYmlsaXR5YWklMkZzZC12YWUtZnQtbXNlLW9yaWdpbmFsJTJGYmxvYiUyRm1haW4lMkZ2YWUtZnQtbXNlLTg0MDAwMC1lbWEtcHJ1bmVkLnNhZmV0ZW5zb3JzJTIyJTIwJTIwJTIzJTIwY2FuJTIwYWxzbyUyMGJlJTIwYSUyMGxvY2FsJTIwZmlsZSUwQW1vZGVsJTIwJTNEJTIwQXV0b2VuY29kZXJLTC5mcm9tX3NpbmdsZV9maWxlKHVybCk=",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoencoderKL

url = <span class="hljs-string">&quot;https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.safetensors&quot;</span>  <span class="hljs-comment"># can also be a local file</span>
model = AutoencoderKL.from_single_file(url)`,wrap:!1}}),X=new q({props:{title:"AutoencoderKL",local:"diffusers.AutoencoderKL",headingTag:"h2"}}),ee=new x({props:{name:"class diffusers.AutoencoderKL",anchor:"diffusers.AutoencoderKL",parameters:[{name:"in_channels",val:": int = 3"},{name:"out_channels",val:": int = 3"},{name:"down_block_types",val:": Tuple = ('DownEncoderBlock2D',)"},{name:"up_block_types",val:": Tuple = ('UpDecoderBlock2D',)"},{name:"block_out_channels",val:": Tuple = (64,)"},{name:"layers_per_block",val:": int = 1"},{name:"act_fn",val:": str = 'silu'"},{name:"latent_channels",val:": int = 4"},{name:"norm_num_groups",val:": int = 32"},{name:"sample_size",val:": int = 32"},{name:"scaling_factor",val:": float = 0.18215"},{name:"latents_mean",val:": Optional = None"},{name:"latents_std",val:": Optional = None"},{name:"force_upcast",val:": float = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderKL.in_channels",description:"<strong>in_channels</strong> (int, <em>optional</em>, defaults to 3) &#x2014; Number of channels in the input image.",name:"in_channels"},{anchor:"diffusers.AutoencoderKL.out_channels",description:"<strong>out_channels</strong> (int,  <em>optional</em>, defaults to 3) &#x2014; Number of channels in the output.",name:"out_channels"},{anchor:"diffusers.AutoencoderKL.down_block_types",description:`<strong>down_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(&quot;DownEncoderBlock2D&quot;,)</code>) &#x2014;
Tuple of downsample block types.`,name:"down_block_types"},{anchor:"diffusers.AutoencoderKL.up_block_types",description:`<strong>up_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(&quot;UpDecoderBlock2D&quot;,)</code>) &#x2014;
Tuple of upsample block types.`,name:"up_block_types"},{anchor:"diffusers.AutoencoderKL.block_out_channels",description:`<strong>block_out_channels</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(64,)</code>) &#x2014;
Tuple of block output channels.`,name:"block_out_channels"},{anchor:"diffusers.AutoencoderKL.act_fn",description:"<strong>act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;silu&quot;</code>) &#x2014; The activation function to use.",name:"act_fn"},{anchor:"diffusers.AutoencoderKL.latent_channels",description:"<strong>latent_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014; Number of channels in the latent space.",name:"latent_channels"},{anchor:"diffusers.AutoencoderKL.sample_size",description:"<strong>sample_size</strong> (<code>int</code>, <em>optional</em>, defaults to <code>32</code>) &#x2014; Sample input size.",name:"sample_size"},{anchor:"diffusers.AutoencoderKL.scaling_factor",description:`<strong>scaling_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 0.18215) &#x2014;
The component-wise standard deviation of the trained latent space computed using the first batch of the
training set. This is used to scale the latent space to have unit variance when training the diffusion
model. The latents are scaled with the formula <code>z = z * scaling_factor</code> before being passed to the
diffusion model. When decoding, the latents are scaled back to the original scale with the formula: <code>z = 1 / scaling_factor * z</code>. For more details, refer to sections 4.3.2 and D.1 of the <a href="https://arxiv.org/abs/2112.10752" rel="nofollow">High-Resolution Image
Synthesis with Latent Diffusion Models</a> paper.`,name:"scaling_factor"},{anchor:"diffusers.AutoencoderKL.force_upcast",description:`<strong>force_upcast</strong> (<code>bool</code>, <em>optional</em>, default to <code>True</code>) &#x2014;
If enabled it will force the VAE to run in float32 for high image resolution pipelines, such as SD-XL. VAE
can be fine-tuned / trained to a lower range without loosing too much precision in which case
<code>force_upcast</code> can be set to <code>False</code> - see: <a href="https://huggingface.co/madebyollin/sdxl-vae-fp16-fix" rel="nofollow">https://huggingface.co/madebyollin/sdxl-vae-fp16-fix</a>`,name:"force_upcast"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L35"}}),te=new x({props:{name:"wrapper",anchor:"diffusers.AutoencoderKL.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/utils/accelerate_utils.py#L43"}}),oe=new x({props:{name:"wrapper",anchor:"diffusers.AutoencoderKL.encode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/utils/accelerate_utils.py#L43"}}),ne=new x({props:{name:"disable_slicing",anchor:"diffusers.AutoencoderKL.disable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L154"}}),se=new x({props:{name:"disable_tiling",anchor:"diffusers.AutoencoderKL.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L140"}}),re=new x({props:{name:"enable_slicing",anchor:"diffusers.AutoencoderKL.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L147"}}),ae=new x({props:{name:"enable_tiling",anchor:"diffusers.AutoencoderKL.enable_tiling",parameters:[{name:"use_tiling",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L132"}}),le=new x({props:{name:"forward",anchor:"diffusers.AutoencoderKL.forward",parameters:[{name:"sample",val:": FloatTensor"},{name:"sample_posterior",val:": bool = False"},{name:"return_dict",val:": bool = True"},{name:"generator",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.AutoencoderKL.forward.sample",description:"<strong>sample</strong> (<code>torch.FloatTensor</code>) &#x2014; Input sample.",name:"sample"},{anchor:"diffusers.AutoencoderKL.forward.sample_posterior",description:`<strong>sample_posterior</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to sample from the posterior.`,name:"sample_posterior"},{anchor:"diffusers.AutoencoderKL.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>DecoderOutput</code> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L425"}}),ie=new x({props:{name:"fuse_qkv_projections",anchor:"diffusers.AutoencoderKL.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L454"}}),P=new on({props:{warning:!0,$$slots:{default:[un]},$$scope:{ctx:Ae}}}),de=new x({props:{name:"set_attn_processor",anchor:"diffusers.AutoencoderKL.set_attn_processor",parameters:[{name:"processor",val:": Union"}],parametersDescription:[{anchor:"diffusers.AutoencoderKL.set_attn_processor.processor",description:`<strong>processor</strong> (<code>dict</code> of <code>AttentionProcessor</code> or only <code>AttentionProcessor</code>) &#x2014;
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for <strong>all</strong> <code>Attention</code> layers.</p>
<p>If <code>processor</code> is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting trainable attention processors.`,name:"processor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L187"}}),ce=new x({props:{name:"set_default_attn_processor",anchor:"diffusers.AutoencoderKL.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L222"}}),ue=new x({props:{name:"tiled_decode",anchor:"diffusers.AutoencoderKL.tiled_decode",parameters:[{name:"z",val:": FloatTensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderKL.tiled_decode.z",description:"<strong>z</strong> (<code>torch.FloatTensor</code>) &#x2014; Input batch of latent vectors.",name:"z"},{anchor:"diffusers.AutoencoderKL.tiled_decode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>~models.vae.DecoderOutput</code> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L377",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <code>~models.vae.DecoderOutput</code> is returned, otherwise a plain <code>tuple</code> is
returned.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>~models.vae.DecoderOutput</code> or <code>tuple</code></p>
`}}),fe=new x({props:{name:"tiled_encode",anchor:"diffusers.AutoencoderKL.tiled_encode",parameters:[{name:"x",val:": FloatTensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderKL.tiled_encode.x",description:"<strong>x</strong> (<code>torch.FloatTensor</code>) &#x2014; Input batch of images.",name:"x"},{anchor:"diffusers.AutoencoderKL.tiled_encode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>~models.autoencoder_kl.AutoencoderKLOutput</code> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L323",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <code>~models.autoencoder_kl.AutoencoderKLOutput</code> is returned, otherwise a plain
<code>tuple</code> is returned.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>~models.autoencoder_kl.AutoencoderKLOutput</code> or <code>tuple</code></p>
`}}),pe=new x({props:{name:"unfuse_qkv_projections",anchor:"diffusers.AutoencoderKL.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl.py#L478"}}),W=new on({props:{warning:!0,$$slots:{default:[fn]},$$scope:{ctx:Ae}}}),me=new q({props:{title:"AutoencoderKLOutput",local:"diffusers.models.modeling_outputs.AutoencoderKLOutput",headingTag:"h2"}}),ge=new x({props:{name:"class diffusers.models.modeling_outputs.AutoencoderKLOutput",anchor:"diffusers.models.modeling_outputs.AutoencoderKLOutput",parameters:[{name:"latent_dist",val:": DiagonalGaussianDistribution"}],parametersDescription:[{anchor:"diffusers.models.modeling_outputs.AutoencoderKLOutput.latent_dist",description:`<strong>latent_dist</strong> (<code>DiagonalGaussianDistribution</code>) &#x2014;
Encoded outputs of <code>Encoder</code> represented as the mean and logvar of <code>DiagonalGaussianDistribution</code>.
<code>DiagonalGaussianDistribution</code> allows for sampling latents from the distribution.`,name:"latent_dist"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/modeling_outputs.py#L6"}}),he=new q({props:{title:"DecoderOutput",local:"diffusers.models.autoencoders.vae.DecoderOutput",headingTag:"h2"}}),be=new x({props:{name:"class diffusers.models.autoencoders.vae.DecoderOutput",anchor:"diffusers.models.autoencoders.vae.DecoderOutput",parameters:[{name:"sample",val:": FloatTensor"}],parametersDescription:[{anchor:"diffusers.models.autoencoders.vae.DecoderOutput.sample",description:`<strong>sample</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, num_channels, height, width)</code>) &#x2014;
The decoded output sample from the last layer of the model.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/vae.py#L33"}}),_e=new q({props:{title:"FlaxAutoencoderKL",local:"diffusers.FlaxAutoencoderKL",headingTag:"h2"}}),ve=new x({props:{name:"class diffusers.FlaxAutoencoderKL",anchor:"diffusers.FlaxAutoencoderKL",parameters:[{name:"in_channels",val:": int = 3"},{name:"out_channels",val:": int = 3"},{name:"down_block_types",val:": Tuple = ('DownEncoderBlock2D',)"},{name:"up_block_types",val:": Tuple = ('UpDecoderBlock2D',)"},{name:"block_out_channels",val:": Tuple = (64,)"},{name:"layers_per_block",val:": int = 1"},{name:"act_fn",val:": str = 'silu'"},{name:"latent_channels",val:": int = 4"},{name:"norm_num_groups",val:": int = 32"},{name:"sample_size",val:": int = 32"},{name:"scaling_factor",val:": float = 0.18215"},{name:"dtype",val:": dtype = <class 'jax.numpy.float32'>"},{name:"parent",val:": Union = <flax.linen.module._Sentinel object at 0x7fb1e03be5f0>"},{name:"name",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.FlaxAutoencoderKL.in_channels",description:`<strong>in_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 3) &#x2014;
Number of channels in the input image.`,name:"in_channels"},{anchor:"diffusers.FlaxAutoencoderKL.out_channels",description:`<strong>out_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 3) &#x2014;
Number of channels in the output.`,name:"out_channels"},{anchor:"diffusers.FlaxAutoencoderKL.down_block_types",description:`<strong>down_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(DownEncoderBlock2D)</code>) &#x2014;
Tuple of downsample block types.`,name:"down_block_types"},{anchor:"diffusers.FlaxAutoencoderKL.up_block_types",description:`<strong>up_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(UpDecoderBlock2D)</code>) &#x2014;
Tuple of upsample block types.`,name:"up_block_types"},{anchor:"diffusers.FlaxAutoencoderKL.block_out_channels",description:`<strong>block_out_channels</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(64,)</code>) &#x2014;
Tuple of block output channels.`,name:"block_out_channels"},{anchor:"diffusers.FlaxAutoencoderKL.layers_per_block",description:`<strong>layers_per_block</strong> (<code>int</code>, <em>optional</em>, defaults to <code>2</code>) &#x2014;
Number of ResNet layer for each block.`,name:"layers_per_block"},{anchor:"diffusers.FlaxAutoencoderKL.act_fn",description:`<strong>act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to <code>silu</code>) &#x2014;
The activation function to use.`,name:"act_fn"},{anchor:"diffusers.FlaxAutoencoderKL.latent_channels",description:`<strong>latent_channels</strong> (<code>int</code>, <em>optional</em>, defaults to <code>4</code>) &#x2014;
Number of channels in the latent space.`,name:"latent_channels"},{anchor:"diffusers.FlaxAutoencoderKL.norm_num_groups",description:`<strong>norm_num_groups</strong> (<code>int</code>, <em>optional</em>, defaults to <code>32</code>) &#x2014;
The number of groups for normalization.`,name:"norm_num_groups"},{anchor:"diffusers.FlaxAutoencoderKL.sample_size",description:`<strong>sample_size</strong> (<code>int</code>, <em>optional</em>, defaults to 32) &#x2014;
Sample input size.`,name:"sample_size"},{anchor:"diffusers.FlaxAutoencoderKL.scaling_factor",description:`<strong>scaling_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 0.18215) &#x2014;
The component-wise standard deviation of the trained latent space computed using the first batch of the
training set. This is used to scale the latent space to have unit variance when training the diffusion
model. The latents are scaled with the formula <code>z = z * scaling_factor</code> before being passed to the
diffusion model. When decoding, the latents are scaled back to the original scale with the formula: <code>z = 1 / scaling_factor * z</code>. For more details, refer to sections 4.3.2 and D.1 of the <a href="https://arxiv.org/abs/2112.10752" rel="nofollow">High-Resolution Image
Synthesis with Latent Diffusion Models</a> paper.`,name:"scaling_factor"},{anchor:"diffusers.FlaxAutoencoderKL.dtype",description:`<strong>dtype</strong> (<code>jnp.dtype</code>, <em>optional</em>, defaults to <code>jnp.float32</code>) &#x2014;
The <code>dtype</code> of the parameters.`,name:"dtype"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/vae_flax.py#L726"}}),$e=new q({props:{title:"FlaxAutoencoderKLOutput",local:"diffusers.models.vae_flax.FlaxAutoencoderKLOutput",headingTag:"h2"}}),xe=new x({props:{name:"class diffusers.models.vae_flax.FlaxAutoencoderKLOutput",anchor:"diffusers.models.vae_flax.FlaxAutoencoderKLOutput",parameters:[{name:"latent_dist",val:": FlaxDiagonalGaussianDistribution"}],parametersDescription:[{anchor:"diffusers.models.vae_flax.FlaxAutoencoderKLOutput.latent_dist",description:`<strong>latent_dist</strong> (<code>FlaxDiagonalGaussianDistribution</code>) &#x2014;
Encoded outputs of <code>Encoder</code> represented as the mean and logvar of <code>FlaxDiagonalGaussianDistribution</code>.
<code>FlaxDiagonalGaussianDistribution</code> allows for sampling latents from the distribution.`,name:"latent_dist"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/vae_flax.py#L47"}}),we=new x({props:{name:"replace",anchor:"diffusers.models.vae_flax.FlaxAutoencoderKLOutput.replace",parameters:[{name:"**updates",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/flax/struct.py#L111"}}),ye=new q({props:{title:"FlaxDecoderOutput",local:"diffusers.models.vae_flax.FlaxDecoderOutput",headingTag:"h2"}}),Le=new x({props:{name:"class diffusers.models.vae_flax.FlaxDecoderOutput",anchor:"diffusers.models.vae_flax.FlaxDecoderOutput",parameters:[{name:"sample",val:": Array"}],parametersDescription:[{anchor:"diffusers.models.vae_flax.FlaxDecoderOutput.sample",description:`<strong>sample</strong> (<code>jnp.ndarray</code> of shape <code>(batch_size, num_channels, height, width)</code>) &#x2014;
The decoded output sample from the last layer of the model.`,name:"sample"},{anchor:"diffusers.models.vae_flax.FlaxDecoderOutput.dtype",description:`<strong>dtype</strong> (<code>jnp.dtype</code>, <em>optional</em>, defaults to <code>jnp.float32</code>) &#x2014;
The <code>dtype</code> of the parameters.`,name:"dtype"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/vae_flax.py#L32"}}),Te=new x({props:{name:"replace",anchor:"diffusers.models.vae_flax.FlaxDecoderOutput.replace",parameters:[{name:"**updates",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/flax/struct.py#L111"}}),{c(){_=r("meta"),D=o(),w=r("p"),M=o(),u(G.$$.fragment),lt=o(),Z=r("p"),Z.innerHTML=Ao,it=o(),S=r("p"),S.textContent=Do,dt=o(),R=r("p"),R.innerHTML=ko,ct=o(),u(Y.$$.fragment),ut=o(),B=r("p"),B.innerHTML=Ko,ft=o(),u(Q.$$.fragment),pt=o(),u(X.$$.fragment),mt=o(),i=r("div"),u(ee.$$.fragment),Pt=o(),De=r("p"),De.textContent=Co,jt=o(),ke=r("p"),ke.innerHTML=Fo,Ht=o(),Ke=r("div"),u(te.$$.fragment),Jt=o(),Ce=r("div"),u(oe.$$.fragment),Wt=o(),O=r("div"),u(ne.$$.fragment),Ut=o(),Fe=r("p"),Fe.innerHTML=Eo,Nt=o(),I=r("div"),u(se.$$.fragment),qt=o(),Ee=r("p"),Ee.innerHTML=Mo,Gt=o(),V=r("div"),u(re.$$.fragment),Zt=o(),Me=r("p"),Me.textContent=Oo,St=o(),z=r("div"),u(ae.$$.fragment),Rt=o(),Oe=r("p"),Oe.textContent=Io,Yt=o(),Ie=r("div"),u(le.$$.fragment),Bt=o(),k=r("div"),u(ie.$$.fragment),Qt=o(),Ve=r("p"),Ve.textContent=Vo,Xt=o(),u(P.$$.fragment),eo=o(),j=r("div"),u(de.$$.fragment),to=o(),ze=r("p"),ze.textContent=zo,oo=o(),H=r("div"),u(ce.$$.fragment),no=o(),Pe=r("p"),Pe.textContent=Po,so=o(),J=r("div"),u(ue.$$.fragment),ro=o(),je=r("p"),je.textContent=jo,ao=o(),K=r("div"),u(fe.$$.fragment),lo=o(),He=r("p"),He.textContent=Ho,io=o(),Je=r("p"),Je.textContent=Jo,co=o(),C=r("div"),u(pe.$$.fragment),uo=o(),We=r("p"),We.textContent=Wo,fo=o(),u(W.$$.fragment),gt=o(),u(me.$$.fragment),ht=o(),F=r("div"),u(ge.$$.fragment),po=o(),Ue=r("p"),Ue.textContent=Uo,bt=o(),u(he.$$.fragment),_t=o(),E=r("div"),u(be.$$.fragment),mo=o(),Ne=r("p"),Ne.textContent=No,vt=o(),u(_e.$$.fragment),$t=o(),y=r("div"),u(ve.$$.fragment),go=o(),qe=r("p"),qe.textContent=qo,ho=o(),Ge=r("p"),Ge.innerHTML=Go,bo=o(),Ze=r("p"),Ze.innerHTML=Zo,_o=o(),Se=r("p"),Se.textContent=So,vo=o(),Re=r("ul"),Re.innerHTML=Ro,xt=o(),u($e.$$.fragment),wt=o(),T=r("div"),u(xe.$$.fragment),$o=o(),Ye=r("p"),Ye.textContent=Yo,xo=o(),U=r("div"),u(we.$$.fragment),wo=o(),Be=r("p"),Be.textContent=Bo,yt=o(),u(ye.$$.fragment),Lt=o(),A=r("div"),u(Le.$$.fragment),yo=o(),Qe=r("p"),Qe.textContent=Qo,Lo=o(),N=r("div"),u(Te.$$.fragment),To=o(),Xe=r("p"),Xe.textContent=Xo,Tt=o(),rt=r("p"),this.h()},l(e){const l=dn("svelte-u9bgzb",document.head);_=a(l,"META",{name:!0,content:!0}),l.forEach(s),D=n(e),w=a(e,"P",{}),v(w).forEach(s),M=n(e),f(G.$$.fragment,e),lt=n(e),Z=a(e,"P",{"data-svelte-h":!0}),b(Z)!=="svelte-rb5qpx"&&(Z.innerHTML=Ao),it=n(e),S=a(e,"P",{"data-svelte-h":!0}),b(S)!=="svelte-1cwsb16"&&(S.textContent=Do),dt=n(e),R=a(e,"P",{"data-svelte-h":!0}),b(R)!=="svelte-1e786c4"&&(R.innerHTML=ko),ct=n(e),f(Y.$$.fragment,e),ut=n(e),B=a(e,"P",{"data-svelte-h":!0}),b(B)!=="svelte-1vtmdxd"&&(B.innerHTML=Ko),ft=n(e),f(Q.$$.fragment,e),pt=n(e),f(X.$$.fragment,e),mt=n(e),i=a(e,"DIV",{class:!0});var d=v(i);f(ee.$$.fragment,d),Pt=n(d),De=a(d,"P",{"data-svelte-h":!0}),b(De)!=="svelte-1nia2sn"&&(De.textContent=Co),jt=n(d),ke=a(d,"P",{"data-svelte-h":!0}),b(ke)!=="svelte-1hyu2ru"&&(ke.innerHTML=Fo),Ht=n(d),Ke=a(d,"DIV",{class:!0});var at=v(Ke);f(te.$$.fragment,at),at.forEach(s),Jt=n(d),Ce=a(d,"DIV",{class:!0});var en=v(Ce);f(oe.$$.fragment,en),en.forEach(s),Wt=n(d),O=a(d,"DIV",{class:!0});var Dt=v(O);f(ne.$$.fragment,Dt),Ut=n(Dt),Fe=a(Dt,"P",{"data-svelte-h":!0}),b(Fe)!=="svelte-189cc7b"&&(Fe.innerHTML=Eo),Dt.forEach(s),Nt=n(d),I=a(d,"DIV",{class:!0});var kt=v(I);f(se.$$.fragment,kt),qt=n(kt),Ee=a(kt,"P",{"data-svelte-h":!0}),b(Ee)!=="svelte-1f366pl"&&(Ee.innerHTML=Mo),kt.forEach(s),Gt=n(d),V=a(d,"DIV",{class:!0});var Kt=v(V);f(re.$$.fragment,Kt),Zt=n(Kt),Me=a(Kt,"P",{"data-svelte-h":!0}),b(Me)!=="svelte-14bnrb6"&&(Me.textContent=Oo),Kt.forEach(s),St=n(d),z=a(d,"DIV",{class:!0});var Ct=v(z);f(ae.$$.fragment,Ct),Rt=n(Ct),Oe=a(Ct,"P",{"data-svelte-h":!0}),b(Oe)!=="svelte-1xwrf7t"&&(Oe.textContent=Io),Ct.forEach(s),Yt=n(d),Ie=a(d,"DIV",{class:!0});var tn=v(Ie);f(le.$$.fragment,tn),tn.forEach(s),Bt=n(d),k=a(d,"DIV",{class:!0});var et=v(k);f(ie.$$.fragment,et),Qt=n(et),Ve=a(et,"P",{"data-svelte-h":!0}),b(Ve)!=="svelte-1254b9i"&&(Ve.textContent=Vo),Xt=n(et),f(P.$$.fragment,et),et.forEach(s),eo=n(d),j=a(d,"DIV",{class:!0});var Ft=v(j);f(de.$$.fragment,Ft),to=n(Ft),ze=a(Ft,"P",{"data-svelte-h":!0}),b(ze)!=="svelte-1o77hl2"&&(ze.textContent=zo),Ft.forEach(s),oo=n(d),H=a(d,"DIV",{class:!0});var Et=v(H);f(ce.$$.fragment,Et),no=n(Et),Pe=a(Et,"P",{"data-svelte-h":!0}),b(Pe)!=="svelte-1lxcwhv"&&(Pe.textContent=Po),Et.forEach(s),so=n(d),J=a(d,"DIV",{class:!0});var Mt=v(J);f(ue.$$.fragment,Mt),ro=n(Mt),je=a(Mt,"P",{"data-svelte-h":!0}),b(je)!=="svelte-1vrxp2b"&&(je.textContent=jo),Mt.forEach(s),ao=n(d),K=a(d,"DIV",{class:!0});var tt=v(K);f(fe.$$.fragment,tt),lo=n(tt),He=a(tt,"P",{"data-svelte-h":!0}),b(He)!=="svelte-1un5fcn"&&(He.textContent=Ho),io=n(tt),Je=a(tt,"P",{"data-svelte-h":!0}),b(Je)!=="svelte-lbfkqr"&&(Je.textContent=Jo),tt.forEach(s),co=n(d),C=a(d,"DIV",{class:!0});var ot=v(C);f(pe.$$.fragment,ot),uo=n(ot),We=a(ot,"P",{"data-svelte-h":!0}),b(We)!=="svelte-1vhtc74"&&(We.textContent=Wo),fo=n(ot),f(W.$$.fragment,ot),ot.forEach(s),d.forEach(s),gt=n(e),f(me.$$.fragment,e),ht=n(e),F=a(e,"DIV",{class:!0});var Ot=v(F);f(ge.$$.fragment,Ot),po=n(Ot),Ue=a(Ot,"P",{"data-svelte-h":!0}),b(Ue)!=="svelte-1vsc7ag"&&(Ue.textContent=Uo),Ot.forEach(s),bt=n(e),f(he.$$.fragment,e),_t=n(e),E=a(e,"DIV",{class:!0});var It=v(E);f(be.$$.fragment,It),mo=n(It),Ne=a(It,"P",{"data-svelte-h":!0}),b(Ne)!=="svelte-18u8upa"&&(Ne.textContent=No),It.forEach(s),vt=n(e),f(_e.$$.fragment,e),$t=n(e),y=a(e,"DIV",{class:!0});var L=v(y);f(ve.$$.fragment,L),go=n(L),qe=a(L,"P",{"data-svelte-h":!0}),b(qe)!=="svelte-184pm5e"&&(qe.textContent=qo),ho=n(L),Ge=a(L,"P",{"data-svelte-h":!0}),b(Ge)!=="svelte-sibkts"&&(Ge.innerHTML=Go),bo=n(L),Ze=a(L,"P",{"data-svelte-h":!0}),b(Ze)!=="svelte-1dpnydg"&&(Ze.innerHTML=Zo),_o=n(L),Se=a(L,"P",{"data-svelte-h":!0}),b(Se)!=="svelte-ngiliw"&&(Se.textContent=So),vo=n(L),Re=a(L,"UL",{"data-svelte-h":!0}),b(Re)!=="svelte-1w7z84m"&&(Re.innerHTML=Ro),L.forEach(s),xt=n(e),f($e.$$.fragment,e),wt=n(e),T=a(e,"DIV",{class:!0});var nt=v(T);f(xe.$$.fragment,nt),$o=n(nt),Ye=a(nt,"P",{"data-svelte-h":!0}),b(Ye)!=="svelte-1vsc7ag"&&(Ye.textContent=Yo),xo=n(nt),U=a(nt,"DIV",{class:!0});var Vt=v(U);f(we.$$.fragment,Vt),wo=n(Vt),Be=a(Vt,"P",{"data-svelte-h":!0}),b(Be)!=="svelte-5ihtpa"&&(Be.textContent=Bo),Vt.forEach(s),nt.forEach(s),yt=n(e),f(ye.$$.fragment,e),Lt=n(e),A=a(e,"DIV",{class:!0});var st=v(A);f(Le.$$.fragment,st),yo=n(st),Qe=a(st,"P",{"data-svelte-h":!0}),b(Qe)!=="svelte-18u8upa"&&(Qe.textContent=Qo),Lo=n(st),N=a(st,"DIV",{class:!0});var zt=v(N);f(Te.$$.fragment,zt),To=n(zt),Xe=a(zt,"P",{"data-svelte-h":!0}),b(Xe)!=="svelte-5ihtpa"&&(Xe.textContent=Xo),zt.forEach(s),st.forEach(s),Tt=n(e),rt=a(e,"P",{}),v(rt).forEach(s),this.h()},h(){$(_,"name","hf:doc:metadata"),$(_,"content",mn),$(Ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(Ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(Ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(i,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,l){t(document.head,_),c(e,D,l),c(e,w,l),c(e,M,l),p(G,e,l),c(e,lt,l),c(e,Z,l),c(e,it,l),c(e,S,l),c(e,dt,l),c(e,R,l),c(e,ct,l),p(Y,e,l),c(e,ut,l),c(e,B,l),c(e,ft,l),p(Q,e,l),c(e,pt,l),p(X,e,l),c(e,mt,l),c(e,i,l),p(ee,i,null),t(i,Pt),t(i,De),t(i,jt),t(i,ke),t(i,Ht),t(i,Ke),p(te,Ke,null),t(i,Jt),t(i,Ce),p(oe,Ce,null),t(i,Wt),t(i,O),p(ne,O,null),t(O,Ut),t(O,Fe),t(i,Nt),t(i,I),p(se,I,null),t(I,qt),t(I,Ee),t(i,Gt),t(i,V),p(re,V,null),t(V,Zt),t(V,Me),t(i,St),t(i,z),p(ae,z,null),t(z,Rt),t(z,Oe),t(i,Yt),t(i,Ie),p(le,Ie,null),t(i,Bt),t(i,k),p(ie,k,null),t(k,Qt),t(k,Ve),t(k,Xt),p(P,k,null),t(i,eo),t(i,j),p(de,j,null),t(j,to),t(j,ze),t(i,oo),t(i,H),p(ce,H,null),t(H,no),t(H,Pe),t(i,so),t(i,J),p(ue,J,null),t(J,ro),t(J,je),t(i,ao),t(i,K),p(fe,K,null),t(K,lo),t(K,He),t(K,io),t(K,Je),t(i,co),t(i,C),p(pe,C,null),t(C,uo),t(C,We),t(C,fo),p(W,C,null),c(e,gt,l),p(me,e,l),c(e,ht,l),c(e,F,l),p(ge,F,null),t(F,po),t(F,Ue),c(e,bt,l),p(he,e,l),c(e,_t,l),c(e,E,l),p(be,E,null),t(E,mo),t(E,Ne),c(e,vt,l),p(_e,e,l),c(e,$t,l),c(e,y,l),p(ve,y,null),t(y,go),t(y,qe),t(y,ho),t(y,Ge),t(y,bo),t(y,Ze),t(y,_o),t(y,Se),t(y,vo),t(y,Re),c(e,xt,l),p($e,e,l),c(e,wt,l),c(e,T,l),p(xe,T,null),t(T,$o),t(T,Ye),t(T,xo),t(T,U),p(we,U,null),t(U,wo),t(U,Be),c(e,yt,l),p(ye,e,l),c(e,Lt,l),c(e,A,l),p(Le,A,null),t(A,yo),t(A,Qe),t(A,Lo),t(A,N),p(Te,N,null),t(N,To),t(N,Xe),c(e,Tt,l),c(e,rt,l),At=!0},p(e,[l]){const d={};l&2&&(d.$$scope={dirty:l,ctx:e}),P.$set(d);const at={};l&2&&(at.$$scope={dirty:l,ctx:e}),W.$set(at)},i(e){At||(m(G.$$.fragment,e),m(Y.$$.fragment,e),m(Q.$$.fragment,e),m(X.$$.fragment,e),m(ee.$$.fragment,e),m(te.$$.fragment,e),m(oe.$$.fragment,e),m(ne.$$.fragment,e),m(se.$$.fragment,e),m(re.$$.fragment,e),m(ae.$$.fragment,e),m(le.$$.fragment,e),m(ie.$$.fragment,e),m(P.$$.fragment,e),m(de.$$.fragment,e),m(ce.$$.fragment,e),m(ue.$$.fragment,e),m(fe.$$.fragment,e),m(pe.$$.fragment,e),m(W.$$.fragment,e),m(me.$$.fragment,e),m(ge.$$.fragment,e),m(he.$$.fragment,e),m(be.$$.fragment,e),m(_e.$$.fragment,e),m(ve.$$.fragment,e),m($e.$$.fragment,e),m(xe.$$.fragment,e),m(we.$$.fragment,e),m(ye.$$.fragment,e),m(Le.$$.fragment,e),m(Te.$$.fragment,e),At=!0)},o(e){g(G.$$.fragment,e),g(Y.$$.fragment,e),g(Q.$$.fragment,e),g(X.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),g(oe.$$.fragment,e),g(ne.$$.fragment,e),g(se.$$.fragment,e),g(re.$$.fragment,e),g(ae.$$.fragment,e),g(le.$$.fragment,e),g(ie.$$.fragment,e),g(P.$$.fragment,e),g(de.$$.fragment,e),g(ce.$$.fragment,e),g(ue.$$.fragment,e),g(fe.$$.fragment,e),g(pe.$$.fragment,e),g(W.$$.fragment,e),g(me.$$.fragment,e),g(ge.$$.fragment,e),g(he.$$.fragment,e),g(be.$$.fragment,e),g(_e.$$.fragment,e),g(ve.$$.fragment,e),g($e.$$.fragment,e),g(xe.$$.fragment,e),g(we.$$.fragment,e),g(ye.$$.fragment,e),g(Le.$$.fragment,e),g(Te.$$.fragment,e),At=!1},d(e){e&&(s(D),s(w),s(M),s(lt),s(Z),s(it),s(S),s(dt),s(R),s(ct),s(ut),s(B),s(ft),s(pt),s(mt),s(i),s(gt),s(ht),s(F),s(bt),s(_t),s(E),s(vt),s($t),s(y),s(xt),s(wt),s(T),s(yt),s(Lt),s(A),s(Tt),s(rt)),s(_),h(G,e),h(Y,e),h(Q,e),h(X,e),h(ee),h(te),h(oe),h(ne),h(se),h(re),h(ae),h(le),h(ie),h(P),h(de),h(ce),h(ue),h(fe),h(pe),h(W),h(me,e),h(ge),h(he,e),h(be),h(_e,e),h(ve),h($e,e),h(xe),h(we),h(ye,e),h(Le),h(Te)}}}const mn='{"title":"AutoencoderKL","local":"autoencoderkl","sections":[{"title":"Loading from the original format","local":"loading-from-the-original-format","sections":[],"depth":2},{"title":"AutoencoderKL","local":"diffusers.AutoencoderKL","sections":[],"depth":2},{"title":"AutoencoderKLOutput","local":"diffusers.models.modeling_outputs.AutoencoderKLOutput","sections":[],"depth":2},{"title":"DecoderOutput","local":"diffusers.models.autoencoders.vae.DecoderOutput","sections":[],"depth":2},{"title":"FlaxAutoencoderKL","local":"diffusers.FlaxAutoencoderKL","sections":[],"depth":2},{"title":"FlaxAutoencoderKLOutput","local":"diffusers.models.vae_flax.FlaxAutoencoderKLOutput","sections":[],"depth":2},{"title":"FlaxDecoderOutput","local":"diffusers.models.vae_flax.FlaxDecoderOutput","sections":[],"depth":2}],"depth":1}';function gn(Ae){return rn(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class wn extends an{constructor(_){super(),ln(this,_,gn,pn,sn,{})}}export{wn as component};
