import{s as dt,n as ct,o as ut}from"../chunks/scheduler.53228c21.js";import{S as ft,i as pt,e as i,s,c as u,h as mt,a as l,d as n,b as a,f as y,g as f,j as b,k as _,l as t,m as c,n as p,t as m,o as h,p as g}from"../chunks/index.100fac89.js";import{C as ht}from"../chunks/CopyLLMTxtMenu.9360b11d.js";import{D as $}from"../chunks/Docstring.22cc8849.js";import{C as lt}from"../chunks/CodeBlock.d30a6509.js";import{H as Ye,E as gt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.c9001d7a.js";function bt(qe){let T,ie,ae,le,C,de,E,ce,k,Pe='Tiny AutoEncoder for Stable Diffusion (TAESD) was introduced in <a href="https://github.com/madebyollin/taesd" rel="nofollow">madebyollin/taesd</a> by Ollin Boer Bohan. It is a tiny distilled version of Stable Diffusion’s VAE that can quickly decode the latents in a <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a> or <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline">StableDiffusionXLPipeline</a> almost instantly.',ue,Z,Fe="To use with Stable Diffusion v-2.1:",fe,W,pe,V,He="To use with Stable Diffusion XL 1.0",me,j,he,I,ge,r,B,Ce,P,Qe="A tiny distilled VAE model for encoding images into latents and decoding latent representations into images.",Ee,F,Oe='<a href="/docs/diffusers/main/en/api/models/autoencoder_tiny#diffusers.AutoencoderTiny">AutoencoderTiny</a> is a wrapper around the original implementation of <code>TAESD</code>.',ke,H,Ke=`This model inherits from <a href="/docs/diffusers/main/en/api/models/overview#diffusers.ModelMixin">ModelMixin</a>. Check the superclass documentation for its generic methods implemented for
all models (such as downloading or saving).`,Ze,w,G,We,Q,et=`Disable sliced VAE decoding. If <code>enable_slicing</code> was previously enabled, this method will go back to computing
decoding in one step.`,Ve,x,X,je,O,tt=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing
decoding in one step.`,Ie,M,D,Be,K,nt=`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.`,Ge,U,R,Xe,ee,ot=`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.`,De,te,L,Re,J,S,Le,ne,st="raw latents -> [0, 1]",Se,A,N,Ne,oe,at="[0, 1] -> raw latents",be,z,ye,v,Y,ze,se,rt="Output of AutoencoderTiny encoding method.",_e,q,Te,re,ve;return C=new ht({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),E=new Ye({props:{title:"Tiny AutoEncoder",local:"tiny-autoencoder",headingTag:"h1"}}),W=new lt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBBdXRvZW5jb2RlclRpbnklMEElMEFwaXBlJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMnN0YWJpbGl0eWFpJTJGc3RhYmxlLWRpZmZ1c2lvbi0yLTEtYmFzZSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSklMEFwaXBlLnZhZSUyMCUzRCUyMEF1dG9lbmNvZGVyVGlueS5mcm9tX3ByZXRyYWluZWQoJTIybWFkZWJ5b2xsaW4lMkZ0YWVzZCUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiklMEFwaXBlJTIwJTNEJTIwcGlwZS50byglMjJjdWRhJTIyKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMnNsaWNlJTIwb2YlMjBkZWxpY2lvdXMlMjBOZXclMjBZb3JrLXN0eWxlJTIwYmVycnklMjBjaGVlc2VjYWtlJTIyJTBBaW1hZ2UlMjAlM0QlMjBwaXBlKHByb21wdCUyQyUyMG51bV9pbmZlcmVuY2Vfc3RlcHMlM0QyNSkuaW1hZ2VzJTVCMCU1RCUwQWltYWdl",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline, AutoencoderTiny

pipe = DiffusionPipeline.from_pretrained(
    <span class="hljs-string">&quot;stabilityai/stable-diffusion-2-1-base&quot;</span>, torch_dtype=torch.float16
)
pipe.vae = AutoencoderTiny.from_pretrained(<span class="hljs-string">&quot;madebyollin/taesd&quot;</span>, torch_dtype=torch.float16)
pipe = pipe.to(<span class="hljs-string">&quot;cuda&quot;</span>)

prompt = <span class="hljs-string">&quot;slice of delicious New York-style berry cheesecake&quot;</span>
image = pipe(prompt, num_inference_steps=<span class="hljs-number">25</span>).images[<span class="hljs-number">0</span>]
image`,wrap:!1}}),j=new lt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBBdXRvZW5jb2RlclRpbnklMEElMEFwaXBlJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMnN0YWJpbGl0eWFpJTJGc3RhYmxlLWRpZmZ1c2lvbi14bC1iYXNlLTEuMCUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSklMEFwaXBlLnZhZSUyMCUzRCUyMEF1dG9lbmNvZGVyVGlueS5mcm9tX3ByZXRyYWluZWQoJTIybWFkZWJ5b2xsaW4lMkZ0YWVzZHhsJTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5mbG9hdDE2KSUwQXBpcGUlMjAlM0QlMjBwaXBlLnRvKCUyMmN1ZGElMjIpJTBBJTBBcHJvbXB0JTIwJTNEJTIwJTIyc2xpY2UlMjBvZiUyMGRlbGljaW91cyUyME5ldyUyMFlvcmstc3R5bGUlMjBiZXJyeSUyMGNoZWVzZWNha2UlMjIlMEFpbWFnZSUyMCUzRCUyMHBpcGUocHJvbXB0JTJDJTIwbnVtX2luZmVyZW5jZV9zdGVwcyUzRDI1KS5pbWFnZXMlNUIwJTVEJTBBaW1hZ2U=",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiffusionPipeline, AutoencoderTiny

pipe = DiffusionPipeline.from_pretrained(
    <span class="hljs-string">&quot;stabilityai/stable-diffusion-xl-base-1.0&quot;</span>, torch_dtype=torch.float16
)
pipe.vae = AutoencoderTiny.from_pretrained(<span class="hljs-string">&quot;madebyollin/taesdxl&quot;</span>, torch_dtype=torch.float16)
pipe = pipe.to(<span class="hljs-string">&quot;cuda&quot;</span>)

prompt = <span class="hljs-string">&quot;slice of delicious New York-style berry cheesecake&quot;</span>
image = pipe(prompt, num_inference_steps=<span class="hljs-number">25</span>).images[<span class="hljs-number">0</span>]
image`,wrap:!1}}),I=new Ye({props:{title:"AutoencoderTiny",local:"diffusers.AutoencoderTiny",headingTag:"h2"}}),B=new $({props:{name:"class diffusers.AutoencoderTiny",anchor:"diffusers.AutoencoderTiny",parameters:[{name:"in_channels",val:": int = 3"},{name:"out_channels",val:": int = 3"},{name:"encoder_block_out_channels",val:": typing.Tuple[int, ...] = (64, 64, 64, 64)"},{name:"decoder_block_out_channels",val:": typing.Tuple[int, ...] = (64, 64, 64, 64)"},{name:"act_fn",val:": str = 'relu'"},{name:"upsample_fn",val:": str = 'nearest'"},{name:"latent_channels",val:": int = 4"},{name:"upsampling_scaling_factor",val:": int = 2"},{name:"num_encoder_blocks",val:": typing.Tuple[int, ...] = (1, 3, 3, 3)"},{name:"num_decoder_blocks",val:": typing.Tuple[int, ...] = (3, 3, 3, 1)"},{name:"latent_magnitude",val:": int = 3"},{name:"latent_shift",val:": float = 0.5"},{name:"force_upcast",val:": bool = False"},{name:"scaling_factor",val:": float = 1.0"},{name:"shift_factor",val:": float = 0.0"}],parametersDescription:[{anchor:"diffusers.AutoencoderTiny.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.AutoencoderTiny.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.AutoencoderTiny.encoder_block_out_channels",description:`<strong>encoder_block_out_channels</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(64, 64, 64, 64)</code>) &#x2014;
Tuple of integers representing the number of output channels for each encoder block. The length of the
tuple should be equal to the number of encoder blocks.`,name:"encoder_block_out_channels"},{anchor:"diffusers.AutoencoderTiny.decoder_block_out_channels",description:`<strong>decoder_block_out_channels</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(64, 64, 64, 64)</code>) &#x2014;
Tuple of integers representing the number of output channels for each decoder block. The length of the
tuple should be equal to the number of decoder blocks.`,name:"decoder_block_out_channels"},{anchor:"diffusers.AutoencoderTiny.act_fn",description:`<strong>act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;relu&quot;</code>) &#x2014;
Activation function to be used throughout the model.`,name:"act_fn"},{anchor:"diffusers.AutoencoderTiny.latent_channels",description:`<strong>latent_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 4) &#x2014;
Number of channels in the latent representation. The latent space acts as a compressed representation of
the input image.`,name:"latent_channels"},{anchor:"diffusers.AutoencoderTiny.upsampling_scaling_factor",description:`<strong>upsampling_scaling_factor</strong> (<code>int</code>, <em>optional</em>, defaults to 2) &#x2014;
Scaling factor for upsampling in the decoder. It determines the size of the output image during the
upsampling process.`,name:"upsampling_scaling_factor"},{anchor:"diffusers.AutoencoderTiny.num_encoder_blocks",description:`<strong>num_encoder_blocks</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(1, 3, 3, 3)</code>) &#x2014;
Tuple of integers representing the number of encoder blocks at each stage of the encoding process. The
length of the tuple should be equal to the number of stages in the encoder. Each stage has a different
number of encoder blocks.`,name:"num_encoder_blocks"},{anchor:"diffusers.AutoencoderTiny.num_decoder_blocks",description:`<strong>num_decoder_blocks</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(3, 3, 3, 1)</code>) &#x2014;
Tuple of integers representing the number of decoder blocks at each stage of the decoding process. The
length of the tuple should be equal to the number of stages in the decoder. Each stage has a different
number of decoder blocks.`,name:"num_decoder_blocks"},{anchor:"diffusers.AutoencoderTiny.latent_magnitude",description:`<strong>latent_magnitude</strong> (<code>float</code>, <em>optional</em>, defaults to 3.0) &#x2014;
Magnitude of the latent representation. This parameter scales the latent representation values to control
the extent of information preservation.`,name:"latent_magnitude"},{anchor:"diffusers.AutoencoderTiny.latent_shift",description:`<strong>latent_shift</strong> (float, <em>optional</em>, defaults to 0.5) &#x2014;
Shift applied to the latent representation. This parameter controls the center of the latent space.`,name:"latent_shift"},{anchor:"diffusers.AutoencoderTiny.scaling_factor",description:`<strong>scaling_factor</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) &#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://huggingface.co/papers/2112.10752" rel="nofollow">High-Resolution Image
Synthesis with Latent Diffusion Models</a> paper. For this
Autoencoder, however, no such scaling factor was used, hence the value of 1.0 as the default.`,name:"scaling_factor"},{anchor:"diffusers.AutoencoderTiny.force_upcast",description:`<strong>force_upcast</strong> (<code>bool</code>, <em>optional</em>, default to <code>False</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 losing too much precision, in which case
<code>force_upcast</code> can be set to <code>False</code> (see this fp16-friendly
<a href="https://huggingface.co/madebyollin/sdxl-vae-fp16-fix" rel="nofollow">AutoEncoder</a>).`,name:"force_upcast"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L41"}}),G=new $({props:{name:"disable_slicing",anchor:"diffusers.AutoencoderTiny.disable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L172"}}),X=new $({props:{name:"disable_tiling",anchor:"diffusers.AutoencoderTiny.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L187"}}),D=new $({props:{name:"enable_slicing",anchor:"diffusers.AutoencoderTiny.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L165"}}),R=new $({props:{name:"enable_tiling",anchor:"diffusers.AutoencoderTiny.enable_tiling",parameters:[{name:"use_tiling",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L179"}}),L=new $({props:{name:"forward",anchor:"diffusers.AutoencoderTiny.forward",parameters:[{name:"sample",val:": Tensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderTiny.forward.sample",description:"<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014; Input sample.",name:"sample"},{anchor:"diffusers.AutoencoderTiny.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_tiny.py#L321"}}),S=new $({props:{name:"scale_latents",anchor:"diffusers.AutoencoderTiny.scale_latents",parameters:[{name:"x",val:": Tensor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L157"}}),N=new $({props:{name:"unscale_latents",anchor:"diffusers.AutoencoderTiny.unscale_latents",parameters:[{name:"x",val:": Tensor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L161"}}),z=new Ye({props:{title:"AutoencoderTinyOutput",local:"diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput",headingTag:"h2"}}),Y=new $({props:{name:"class diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput",anchor:"diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput",parameters:[{name:"latents",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput.latents",description:"<strong>latents</strong> (<code>torch.Tensor</code>) &#x2014; Encoded outputs of the <code>Encoder</code>.",name:"latents"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L29"}}),q=new gt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/autoencoder_tiny.md"}}),{c(){T=i("meta"),ie=s(),ae=i("p"),le=s(),u(C.$$.fragment),de=s(),u(E.$$.fragment),ce=s(),k=i("p"),k.innerHTML=Pe,ue=s(),Z=i("p"),Z.textContent=Fe,fe=s(),u(W.$$.fragment),pe=s(),V=i("p"),V.textContent=He,me=s(),u(j.$$.fragment),he=s(),u(I.$$.fragment),ge=s(),r=i("div"),u(B.$$.fragment),Ce=s(),P=i("p"),P.textContent=Qe,Ee=s(),F=i("p"),F.innerHTML=Oe,ke=s(),H=i("p"),H.innerHTML=Ke,Ze=s(),w=i("div"),u(G.$$.fragment),We=s(),Q=i("p"),Q.innerHTML=et,Ve=s(),x=i("div"),u(X.$$.fragment),je=s(),O=i("p"),O.innerHTML=tt,Ie=s(),M=i("div"),u(D.$$.fragment),Be=s(),K=i("p"),K.textContent=nt,Ge=s(),U=i("div"),u(R.$$.fragment),Xe=s(),ee=i("p"),ee.textContent=ot,De=s(),te=i("div"),u(L.$$.fragment),Re=s(),J=i("div"),u(S.$$.fragment),Le=s(),ne=i("p"),ne.textContent=st,Se=s(),A=i("div"),u(N.$$.fragment),Ne=s(),oe=i("p"),oe.textContent=at,be=s(),u(z.$$.fragment),ye=s(),v=i("div"),u(Y.$$.fragment),ze=s(),se=i("p"),se.textContent=rt,_e=s(),u(q.$$.fragment),Te=s(),re=i("p"),this.h()},l(e){const o=mt("svelte-u9bgzb",document.head);T=l(o,"META",{name:!0,content:!0}),o.forEach(n),ie=a(e),ae=l(e,"P",{}),y(ae).forEach(n),le=a(e),f(C.$$.fragment,e),de=a(e),f(E.$$.fragment,e),ce=a(e),k=l(e,"P",{"data-svelte-h":!0}),b(k)!=="svelte-176znfq"&&(k.innerHTML=Pe),ue=a(e),Z=l(e,"P",{"data-svelte-h":!0}),b(Z)!=="svelte-1j0g63g"&&(Z.textContent=Fe),fe=a(e),f(W.$$.fragment,e),pe=a(e),V=l(e,"P",{"data-svelte-h":!0}),b(V)!=="svelte-dyqzt3"&&(V.textContent=He),me=a(e),f(j.$$.fragment,e),he=a(e),f(I.$$.fragment,e),ge=a(e),r=l(e,"DIV",{class:!0});var d=y(r);f(B.$$.fragment,d),Ce=a(d),P=l(d,"P",{"data-svelte-h":!0}),b(P)!=="svelte-pqpiv3"&&(P.textContent=Qe),Ee=a(d),F=l(d,"P",{"data-svelte-h":!0}),b(F)!=="svelte-1otkjue"&&(F.innerHTML=Oe),ke=a(d),H=l(d,"P",{"data-svelte-h":!0}),b(H)!=="svelte-1j6sdev"&&(H.innerHTML=Ke),Ze=a(d),w=l(d,"DIV",{class:!0});var $e=y(w);f(G.$$.fragment,$e),We=a($e),Q=l($e,"P",{"data-svelte-h":!0}),b(Q)!=="svelte-189cc7b"&&(Q.innerHTML=et),$e.forEach(n),Ve=a(d),x=l(d,"DIV",{class:!0});var we=y(x);f(X.$$.fragment,we),je=a(we),O=l(we,"P",{"data-svelte-h":!0}),b(O)!=="svelte-1f366pl"&&(O.innerHTML=tt),we.forEach(n),Ie=a(d),M=l(d,"DIV",{class:!0});var xe=y(M);f(D.$$.fragment,xe),Be=a(xe),K=l(xe,"P",{"data-svelte-h":!0}),b(K)!=="svelte-14bnrb6"&&(K.textContent=nt),xe.forEach(n),Ge=a(d),U=l(d,"DIV",{class:!0});var Me=y(U);f(R.$$.fragment,Me),Xe=a(Me),ee=l(Me,"P",{"data-svelte-h":!0}),b(ee)!=="svelte-1xwrf7t"&&(ee.textContent=ot),Me.forEach(n),De=a(d),te=l(d,"DIV",{class:!0});var it=y(te);f(L.$$.fragment,it),it.forEach(n),Re=a(d),J=l(d,"DIV",{class:!0});var Ue=y(J);f(S.$$.fragment,Ue),Le=a(Ue),ne=l(Ue,"P",{"data-svelte-h":!0}),b(ne)!=="svelte-1jovd99"&&(ne.textContent=st),Ue.forEach(n),Se=a(d),A=l(d,"DIV",{class:!0});var Je=y(A);f(N.$$.fragment,Je),Ne=a(Je),oe=l(Je,"P",{"data-svelte-h":!0}),b(oe)!=="svelte-hggkbx"&&(oe.textContent=at),Je.forEach(n),d.forEach(n),be=a(e),f(z.$$.fragment,e),ye=a(e),v=l(e,"DIV",{class:!0});var Ae=y(v);f(Y.$$.fragment,Ae),ze=a(Ae),se=l(Ae,"P",{"data-svelte-h":!0}),b(se)!=="svelte-11to6kt"&&(se.textContent=rt),Ae.forEach(n),_e=a(e),f(q.$$.fragment,e),Te=a(e),re=l(e,"P",{}),y(re).forEach(n),this.h()},h(){_(T,"name","hf:doc:metadata"),_(T,"content",yt),_(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(M,"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"),_(te,"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"),_(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(r,"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")},m(e,o){t(document.head,T),c(e,ie,o),c(e,ae,o),c(e,le,o),p(C,e,o),c(e,de,o),p(E,e,o),c(e,ce,o),c(e,k,o),c(e,ue,o),c(e,Z,o),c(e,fe,o),p(W,e,o),c(e,pe,o),c(e,V,o),c(e,me,o),p(j,e,o),c(e,he,o),p(I,e,o),c(e,ge,o),c(e,r,o),p(B,r,null),t(r,Ce),t(r,P),t(r,Ee),t(r,F),t(r,ke),t(r,H),t(r,Ze),t(r,w),p(G,w,null),t(w,We),t(w,Q),t(r,Ve),t(r,x),p(X,x,null),t(x,je),t(x,O),t(r,Ie),t(r,M),p(D,M,null),t(M,Be),t(M,K),t(r,Ge),t(r,U),p(R,U,null),t(U,Xe),t(U,ee),t(r,De),t(r,te),p(L,te,null),t(r,Re),t(r,J),p(S,J,null),t(J,Le),t(J,ne),t(r,Se),t(r,A),p(N,A,null),t(A,Ne),t(A,oe),c(e,be,o),p(z,e,o),c(e,ye,o),c(e,v,o),p(Y,v,null),t(v,ze),t(v,se),c(e,_e,o),p(q,e,o),c(e,Te,o),c(e,re,o),ve=!0},p:ct,i(e){ve||(m(C.$$.fragment,e),m(E.$$.fragment,e),m(W.$$.fragment,e),m(j.$$.fragment,e),m(I.$$.fragment,e),m(B.$$.fragment,e),m(G.$$.fragment,e),m(X.$$.fragment,e),m(D.$$.fragment,e),m(R.$$.fragment,e),m(L.$$.fragment,e),m(S.$$.fragment,e),m(N.$$.fragment,e),m(z.$$.fragment,e),m(Y.$$.fragment,e),m(q.$$.fragment,e),ve=!0)},o(e){h(C.$$.fragment,e),h(E.$$.fragment,e),h(W.$$.fragment,e),h(j.$$.fragment,e),h(I.$$.fragment,e),h(B.$$.fragment,e),h(G.$$.fragment,e),h(X.$$.fragment,e),h(D.$$.fragment,e),h(R.$$.fragment,e),h(L.$$.fragment,e),h(S.$$.fragment,e),h(N.$$.fragment,e),h(z.$$.fragment,e),h(Y.$$.fragment,e),h(q.$$.fragment,e),ve=!1},d(e){e&&(n(ie),n(ae),n(le),n(de),n(ce),n(k),n(ue),n(Z),n(fe),n(pe),n(V),n(me),n(he),n(ge),n(r),n(be),n(ye),n(v),n(_e),n(Te),n(re)),n(T),g(C,e),g(E,e),g(W,e),g(j,e),g(I,e),g(B),g(G),g(X),g(D),g(R),g(L),g(S),g(N),g(z,e),g(Y),g(q,e)}}}const yt='{"title":"Tiny AutoEncoder","local":"tiny-autoencoder","sections":[{"title":"AutoencoderTiny","local":"diffusers.AutoencoderTiny","sections":[],"depth":2},{"title":"AutoencoderTinyOutput","local":"diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput","sections":[],"depth":2}],"depth":1}';function _t(qe){return ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ut extends ft{constructor(T){super(),pt(this,T,_t,bt,dt,{})}}export{Ut as component};
