import{S as Vt,i as Bt,s as Gt,e as o,k as d,w as g,t as i,M as Xt,c as s,d as n,m as u,a,x as y,h as c,b as r,G as t,g as p,y as b,L as Dt,q as _,o as v,B as T,v as Nt}from"../../../chunks/vendor-hf-doc-builder.js";import{D as ue}from"../../../chunks/Docstring-hf-doc-builder.js";import{C as It}from"../../../chunks/CodeBlock-hf-doc-builder.js";import{I as ut}from"../../../chunks/IconCopyLink-hf-doc-builder.js";function Rt(ft){let w,fe,M,k,K,j,Ze,ee,xe,pe,h,Se,I,We,je,F,Ie,Ve,P,Be,Ge,me,z,Xe,he,V,ge,L,De,ye,B,be,A,J,te,G,Ne,ne,Re,_e,f,X,Ce,oe,qe,Ye,U,Q,Fe,Pe,se,ze,Le,Qe,D,Oe,O,He,Ke,et,H,N,tt,Z,R,nt,ae,ot,st,x,C,at,re,rt,ve,E,S,le,q,lt,ie,it,Te,$,Y,ct,ce,dt,we;return j=new ut({}),V=new It({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBBdXRvZW5jb2RlclRpbnklMEElMEFwaXBlJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMnN0YWJpbGl0eWFpJTJGc3RhYmxlLWRpZmZ1c2lvbi0yLTEtYmFzZSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSklMEFwaXBlLnZhZSUyMCUzRCUyMEF1dG9lbmNvZGVyVGlueS5mcm9tX3ByZXRyYWluZWQoJTIybWFkZWJ5b2xsaW4lMkZ0YWVzZCUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiklMEFwaXBlJTIwJTNEJTIwcGlwZS50byglMjJjdWRhJTIyKSUwQSUwQXByb21wdCUyMCUzRCUyMCUyMnNsaWNlJTIwb2YlMjBkZWxpY2lvdXMlMjBOZXclMjBZb3JrLXN0eWxlJTIwYmVycnklMjBjaGVlc2VjYWtlJTIyJTBBaW1hZ2UlMjAlM0QlMjBwaXBlKHByb21wdCUyQyUyMG51bV9pbmZlcmVuY2Vfc3RlcHMlM0QyNSkuaW1hZ2VzJTVCMCU1RCUwQWltYWdlLnNhdmUoJTIyY2hlZXNlY2FrZS5wbmclMjIp",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.save(<span class="hljs-string">&quot;cheesecake.png&quot;</span>)`}}),B=new It({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBBdXRvZW5jb2RlclRpbnklMEElMEFwaXBlJTIwJTNEJTIwRGlmZnVzaW9uUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMnN0YWJpbGl0eWFpJTJGc3RhYmxlLWRpZmZ1c2lvbi14bC1iYXNlLTEuMCUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUwQSklMEFwaXBlLnZhZSUyMCUzRCUyMEF1dG9lbmNvZGVyVGlueS5mcm9tX3ByZXRyYWluZWQoJTIybWFkZWJ5b2xsaW4lMkZ0YWVzZHhsJTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5mbG9hdDE2KSUwQXBpcGUlMjAlM0QlMjBwaXBlLnRvKCUyMmN1ZGElMjIpJTBBJTBBcHJvbXB0JTIwJTNEJTIwJTIyc2xpY2UlMjBvZiUyMGRlbGljaW91cyUyME5ldyUyMFlvcmstc3R5bGUlMjBiZXJyeSUyMGNoZWVzZWNha2UlMjIlMEFpbWFnZSUyMCUzRCUyMHBpcGUocHJvbXB0JTJDJTIwbnVtX2luZmVyZW5jZV9zdGVwcyUzRDI1KS5pbWFnZXMlNUIwJTVEJTBBaW1hZ2Uuc2F2ZSglMjJjaGVlc2VjYWtlX3NkeGwucG5nJTIyKQ==",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.save(<span class="hljs-string">&quot;cheesecake_sdxl.png&quot;</span>)`}}),G=new ut({}),X=new ue({props:{name:"class diffusers.AutoencoderTiny",anchor:"diffusers.AutoencoderTiny",parameters:[{name:"in_channels",val:" = 3"},{name:"out_channels",val:" = 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:"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:": float = False"},{name:"scaling_factor",val:": float = 1.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://arxiv.org/abs/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/v0.20.0/src/diffusers/models/autoencoder_tiny.py#L40"}}),N=new ue({props:{name:"forward",anchor:"diffusers.AutoencoderTiny.forward",parameters:[{name:"sample",val:": FloatTensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderTiny.forward.sample",description:"<strong>sample</strong> (<code>torch.FloatTensor</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/v0.20.0/src/diffusers/models/autoencoder_tiny.py#L175"}}),R=new ue({props:{name:"scale_latents",anchor:"diffusers.AutoencoderTiny.scale_latents",parameters:[{name:"x",val:""}],source:"https://github.com/huggingface/diffusers/blob/v0.20.0/src/diffusers/models/autoencoder_tiny.py#L144"}}),C=new ue({props:{name:"unscale_latents",anchor:"diffusers.AutoencoderTiny.unscale_latents",parameters:[{name:"x",val:""}],source:"https://github.com/huggingface/diffusers/blob/v0.20.0/src/diffusers/models/autoencoder_tiny.py#L148"}}),q=new ut({}),Y=new ue({props:{name:"class diffusers.models.autoencoder_tiny.AutoencoderTinyOutput",anchor:"diffusers.models.autoencoder_tiny.AutoencoderTinyOutput",parameters:[{name:"latents",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.models.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/v0.20.0/src/diffusers/models/autoencoder_tiny.py#L28"}}),{c(){w=o("meta"),fe=d(),M=o("h1"),k=o("a"),K=o("span"),g(j.$$.fragment),Ze=d(),ee=o("span"),xe=i("Tiny AutoEncoder"),pe=d(),h=o("p"),Se=i("Tiny AutoEncoder for Stable Diffusion (TAESD) was introduced in "),I=o("a"),We=i("madebyollin/taesd"),je=i(" by Ollin Boer Bohan. It is a tiny distilled version of Stable Diffusion\u2019s VAE that can quickly decode the latents in a "),F=o("a"),Ie=i("StableDiffusionPipeline"),Ve=i(" or "),P=o("a"),Be=i("StableDiffusionXLPipeline"),Ge=i(" almost instantly."),me=d(),z=o("p"),Xe=i("To use with Stable Diffusion v-2.1:"),he=d(),g(V.$$.fragment),ge=d(),L=o("p"),De=i("To use with Stable Diffusion XL 1.0"),ye=d(),g(B.$$.fragment),be=d(),A=o("h2"),J=o("a"),te=o("span"),g(G.$$.fragment),Ne=d(),ne=o("span"),Re=i("AutoencoderTiny"),_e=d(),f=o("div"),g(X.$$.fragment),Ce=d(),oe=o("p"),qe=i("A tiny distilled VAE model for encoding images into latents and decoding latent representations into images."),Ye=d(),U=o("p"),Q=o("a"),Fe=i("AutoencoderTiny"),Pe=i(" is a wrapper around the original implementation of "),se=o("code"),ze=i("TAESD"),Le=i("."),Qe=d(),D=o("p"),Oe=i("This model inherits from "),O=o("a"),He=i("ModelMixin"),Ke=i(`. Check the superclass documentation for its generic methods implemented for
all models (such as downloading or saving).`),et=d(),H=o("div"),g(N.$$.fragment),tt=d(),Z=o("div"),g(R.$$.fragment),nt=d(),ae=o("p"),ot=i("raw latents -> [0, 1]"),st=d(),x=o("div"),g(C.$$.fragment),at=d(),re=o("p"),rt=i("[0, 1] -> raw latents"),ve=d(),E=o("h2"),S=o("a"),le=o("span"),g(q.$$.fragment),lt=d(),ie=o("span"),it=i("AutoencoderTinyOutput"),Te=d(),$=o("div"),g(Y.$$.fragment),ct=d(),ce=o("p"),dt=i("Output of AutoencoderTiny encoding method."),this.h()},l(e){const l=Xt('[data-svelte="svelte-1phssyn"]',document.head);w=s(l,"META",{name:!0,content:!0}),l.forEach(n),fe=u(e),M=s(e,"H1",{class:!0});var Me=a(M);k=s(Me,"A",{id:!0,class:!0,href:!0});var pt=a(k);K=s(pt,"SPAN",{});var mt=a(K);y(j.$$.fragment,mt),mt.forEach(n),pt.forEach(n),Ze=u(Me),ee=s(Me,"SPAN",{});var ht=a(ee);xe=c(ht,"Tiny AutoEncoder"),ht.forEach(n),Me.forEach(n),pe=u(e),h=s(e,"P",{});var W=a(h);Se=c(W,"Tiny AutoEncoder for Stable Diffusion (TAESD) was introduced in "),I=s(W,"A",{href:!0,rel:!0});var gt=a(I);We=c(gt,"madebyollin/taesd"),gt.forEach(n),je=c(W," by Ollin Boer Bohan. It is a tiny distilled version of Stable Diffusion\u2019s VAE that can quickly decode the latents in a "),F=s(W,"A",{href:!0});var yt=a(F);Ie=c(yt,"StableDiffusionPipeline"),yt.forEach(n),Ve=c(W," or "),P=s(W,"A",{href:!0});var bt=a(P);Be=c(bt,"StableDiffusionXLPipeline"),bt.forEach(n),Ge=c(W," almost instantly."),W.forEach(n),me=u(e),z=s(e,"P",{});var _t=a(z);Xe=c(_t,"To use with Stable Diffusion v-2.1:"),_t.forEach(n),he=u(e),y(V.$$.fragment,e),ge=u(e),L=s(e,"P",{});var vt=a(L);De=c(vt,"To use with Stable Diffusion XL 1.0"),vt.forEach(n),ye=u(e),y(B.$$.fragment,e),be=u(e),A=s(e,"H2",{class:!0});var Ae=a(A);J=s(Ae,"A",{id:!0,class:!0,href:!0});var Tt=a(J);te=s(Tt,"SPAN",{});var wt=a(te);y(G.$$.fragment,wt),wt.forEach(n),Tt.forEach(n),Ne=u(Ae),ne=s(Ae,"SPAN",{});var Mt=a(ne);Re=c(Mt,"AutoencoderTiny"),Mt.forEach(n),Ae.forEach(n),_e=u(e),f=s(e,"DIV",{class:!0});var m=a(f);y(X.$$.fragment,m),Ce=u(m),oe=s(m,"P",{});var At=a(oe);qe=c(At,"A tiny distilled VAE model for encoding images into latents and decoding latent representations into images."),At.forEach(n),Ye=u(m),U=s(m,"P",{});var de=a(U);Q=s(de,"A",{href:!0});var Et=a(Q);Fe=c(Et,"AutoencoderTiny"),Et.forEach(n),Pe=c(de," is a wrapper around the original implementation of "),se=s(de,"CODE",{});var $t=a(se);ze=c($t,"TAESD"),$t.forEach(n),Le=c(de,"."),de.forEach(n),Qe=u(m),D=s(m,"P",{});var Ee=a(D);Oe=c(Ee,"This model inherits from "),O=s(Ee,"A",{href:!0});var kt=a(O);He=c(kt,"ModelMixin"),kt.forEach(n),Ke=c(Ee,`. Check the superclass documentation for its generic methods implemented for
all models (such as downloading or saving).`),Ee.forEach(n),et=u(m),H=s(m,"DIV",{class:!0});var Jt=a(H);y(N.$$.fragment,Jt),Jt.forEach(n),tt=u(m),Z=s(m,"DIV",{class:!0});var $e=a(Z);y(R.$$.fragment,$e),nt=u($e),ae=s($e,"P",{});var Ut=a(ae);ot=c(Ut,"raw latents -> [0, 1]"),Ut.forEach(n),$e.forEach(n),st=u(m),x=s(m,"DIV",{class:!0});var ke=a(x);y(C.$$.fragment,ke),at=u(ke),re=s(ke,"P",{});var Zt=a(re);rt=c(Zt,"[0, 1] -> raw latents"),Zt.forEach(n),ke.forEach(n),m.forEach(n),ve=u(e),E=s(e,"H2",{class:!0});var Je=a(E);S=s(Je,"A",{id:!0,class:!0,href:!0});var xt=a(S);le=s(xt,"SPAN",{});var St=a(le);y(q.$$.fragment,St),St.forEach(n),xt.forEach(n),lt=u(Je),ie=s(Je,"SPAN",{});var Wt=a(ie);it=c(Wt,"AutoencoderTinyOutput"),Wt.forEach(n),Je.forEach(n),Te=u(e),$=s(e,"DIV",{class:!0});var Ue=a($);y(Y.$$.fragment,Ue),ct=u(Ue),ce=s(Ue,"P",{});var jt=a(ce);dt=c(jt,"Output of AutoencoderTiny encoding method."),jt.forEach(n),Ue.forEach(n),this.h()},h(){r(w,"name","hf:doc:metadata"),r(w,"content",JSON.stringify(Ct)),r(k,"id","tiny-autoencoder"),r(k,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(k,"href","#tiny-autoencoder"),r(M,"class","relative group"),r(I,"href","https://github.com/madebyollin/taesd"),r(I,"rel","nofollow"),r(F,"href","/docs/diffusers/v0.20.0/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline"),r(P,"href","/docs/diffusers/v0.20.0/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline"),r(J,"id","diffusers.AutoencoderTiny"),r(J,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(J,"href","#diffusers.AutoencoderTiny"),r(A,"class","relative group"),r(Q,"href","/docs/diffusers/v0.20.0/en/api/models/autoencoder_tiny#diffusers.AutoencoderTiny"),r(O,"href","/docs/diffusers/v0.20.0/en/api/models/overview#diffusers.ModelMixin"),r(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),r(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),r(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),r(f,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),r(S,"id","diffusers.models.autoencoder_tiny.AutoencoderTinyOutput"),r(S,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),r(S,"href","#diffusers.models.autoencoder_tiny.AutoencoderTinyOutput"),r(E,"class","relative group"),r($,"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,w),p(e,fe,l),p(e,M,l),t(M,k),t(k,K),b(j,K,null),t(M,Ze),t(M,ee),t(ee,xe),p(e,pe,l),p(e,h,l),t(h,Se),t(h,I),t(I,We),t(h,je),t(h,F),t(F,Ie),t(h,Ve),t(h,P),t(P,Be),t(h,Ge),p(e,me,l),p(e,z,l),t(z,Xe),p(e,he,l),b(V,e,l),p(e,ge,l),p(e,L,l),t(L,De),p(e,ye,l),b(B,e,l),p(e,be,l),p(e,A,l),t(A,J),t(J,te),b(G,te,null),t(A,Ne),t(A,ne),t(ne,Re),p(e,_e,l),p(e,f,l),b(X,f,null),t(f,Ce),t(f,oe),t(oe,qe),t(f,Ye),t(f,U),t(U,Q),t(Q,Fe),t(U,Pe),t(U,se),t(se,ze),t(U,Le),t(f,Qe),t(f,D),t(D,Oe),t(D,O),t(O,He),t(D,Ke),t(f,et),t(f,H),b(N,H,null),t(f,tt),t(f,Z),b(R,Z,null),t(Z,nt),t(Z,ae),t(ae,ot),t(f,st),t(f,x),b(C,x,null),t(x,at),t(x,re),t(re,rt),p(e,ve,l),p(e,E,l),t(E,S),t(S,le),b(q,le,null),t(E,lt),t(E,ie),t(ie,it),p(e,Te,l),p(e,$,l),b(Y,$,null),t($,ct),t($,ce),t(ce,dt),we=!0},p:Dt,i(e){we||(_(j.$$.fragment,e),_(V.$$.fragment,e),_(B.$$.fragment,e),_(G.$$.fragment,e),_(X.$$.fragment,e),_(N.$$.fragment,e),_(R.$$.fragment,e),_(C.$$.fragment,e),_(q.$$.fragment,e),_(Y.$$.fragment,e),we=!0)},o(e){v(j.$$.fragment,e),v(V.$$.fragment,e),v(B.$$.fragment,e),v(G.$$.fragment,e),v(X.$$.fragment,e),v(N.$$.fragment,e),v(R.$$.fragment,e),v(C.$$.fragment,e),v(q.$$.fragment,e),v(Y.$$.fragment,e),we=!1},d(e){n(w),e&&n(fe),e&&n(M),T(j),e&&n(pe),e&&n(h),e&&n(me),e&&n(z),e&&n(he),T(V,e),e&&n(ge),e&&n(L),e&&n(ye),T(B,e),e&&n(be),e&&n(A),T(G),e&&n(_e),e&&n(f),T(X),T(N),T(R),T(C),e&&n(ve),e&&n(E),T(q),e&&n(Te),e&&n($),T(Y)}}}const Ct={local:"tiny-autoencoder",sections:[{local:"diffusers.AutoencoderTiny",title:"AutoencoderTiny"},{local:"diffusers.models.autoencoder_tiny.AutoencoderTinyOutput",title:"AutoencoderTinyOutput"}],title:"Tiny AutoEncoder"};function qt(ft){return Nt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Lt extends Vt{constructor(w){super();Bt(this,w,qt,Rt,Gt,{})}}export{Lt as default,Ct as metadata};
