import{s as it,n as lt,o as dt}from"../chunks/scheduler.8c3d61f6.js";import{S as ct,i as ut,g as i,s as o,r as u,A as ft,h as l,f as n,c as s,j as _,u as f,x as b,k as y,y as t,a as c,v as p,d as m,t as h,w as g}from"../chunks/index.589a98e8.js";import{D as $}from"../chunks/Docstring.27406313.js";import{C as at}from"../chunks/CodeBlock.36627b28.js";import{H as Ne,E as pt}from"../chunks/EditOnGithub.e5a8d9cb.js";function mt(qe){let v,ae,se,ie,E,le,k,ze='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/pr_8466/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a> or <a href="/docs/diffusers/pr_8466/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline">StableDiffusionXLPipeline</a> almost instantly.',de,C,Ye="To use with Stable Diffusion v-2.1:",ce,Z,ue,W,Pe="To use with Stable Diffusion XL 1.0",fe,V,pe,I,me,a,j,Ae,Y,Fe="A tiny distilled VAE model for encoding images into latents and decoding latent representations into images.",Je,P,He='<a href="/docs/diffusers/pr_8466/en/api/models/autoencoder_tiny#diffusers.AutoencoderTiny">AutoencoderTiny</a> is a wrapper around the original implementation of <code>TAESD</code>.',Ee,F,Qe=`This model inherits from <a href="/docs/diffusers/pr_8466/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).`,ke,w,B,Ce,H,Oe=`Disable sliced VAE decoding. If <code>enable_slicing</code> was previously enabled, this method will go back to computing
decoding in one step.`,Ze,x,G,We,Q,Ke=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing
decoding in one step.`,Ve,M,X,Ie,O,et=`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.`,je,U,D,Be,K,tt=`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.`,Ge,ee,R,Xe,A,S,De,te,nt="raw latents -> [0, 1]",Re,J,L,Se,ne,ot="[0, 1] -> raw latents",he,N,ge,T,q,Le,oe,st="Output of AutoencoderTiny encoding method.",be,z,_e,re,ye;return E=new Ne({props:{title:"Tiny AutoEncoder",local:"tiny-autoencoder",headingTag:"h1"}}),Z=new at({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}}),V=new at({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 Ne({props:{title:"AutoencoderTiny",local:"diffusers.AutoencoderTiny",headingTag:"h2"}}),j=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:": Tuple = (64, 64, 64, 64)"},{name:"decoder_block_out_channels",val:": Tuple = (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:": Tuple = (1, 3, 3, 3)"},{name:"num_decoder_blocks",val:": Tuple = (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://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/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L41"}}),B=new $({props:{name:"disable_slicing",anchor:"diffusers.AutoencoderTiny.disable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L176"}}),G=new $({props:{name:"disable_tiling",anchor:"diffusers.AutoencoderTiny.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L191"}}),X=new $({props:{name:"enable_slicing",anchor:"diffusers.AutoencoderTiny.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L169"}}),D=new $({props:{name:"enable_tiling",anchor:"diffusers.AutoencoderTiny.enable_tiling",parameters:[{name:"use_tiling",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L183"}}),R=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/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L323"}}),S=new $({props:{name:"scale_latents",anchor:"diffusers.AutoencoderTiny.scale_latents",parameters:[{name:"x",val:": Tensor"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L161"}}),L=new $({props:{name:"unscale_latents",anchor:"diffusers.AutoencoderTiny.unscale_latents",parameters:[{name:"x",val:": Tensor"}],source:"https://github.com/huggingface/diffusers/blob/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L165"}}),N=new Ne({props:{title:"AutoencoderTinyOutput",local:"diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput",headingTag:"h2"}}),q=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/vr_8466/src/diffusers/models/autoencoders/autoencoder_tiny.py#L28"}}),z=new pt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/autoencoder_tiny.md"}}),{c(){v=i("meta"),ae=o(),se=i("p"),ie=o(),u(E.$$.fragment),le=o(),k=i("p"),k.innerHTML=ze,de=o(),C=i("p"),C.textContent=Ye,ce=o(),u(Z.$$.fragment),ue=o(),W=i("p"),W.textContent=Pe,fe=o(),u(V.$$.fragment),pe=o(),u(I.$$.fragment),me=o(),a=i("div"),u(j.$$.fragment),Ae=o(),Y=i("p"),Y.textContent=Fe,Je=o(),P=i("p"),P.innerHTML=He,Ee=o(),F=i("p"),F.innerHTML=Qe,ke=o(),w=i("div"),u(B.$$.fragment),Ce=o(),H=i("p"),H.innerHTML=Oe,Ze=o(),x=i("div"),u(G.$$.fragment),We=o(),Q=i("p"),Q.innerHTML=Ke,Ve=o(),M=i("div"),u(X.$$.fragment),Ie=o(),O=i("p"),O.textContent=et,je=o(),U=i("div"),u(D.$$.fragment),Be=o(),K=i("p"),K.textContent=tt,Ge=o(),ee=i("div"),u(R.$$.fragment),Xe=o(),A=i("div"),u(S.$$.fragment),De=o(),te=i("p"),te.textContent=nt,Re=o(),J=i("div"),u(L.$$.fragment),Se=o(),ne=i("p"),ne.textContent=ot,he=o(),u(N.$$.fragment),ge=o(),T=i("div"),u(q.$$.fragment),Le=o(),oe=i("p"),oe.textContent=st,be=o(),u(z.$$.fragment),_e=o(),re=i("p"),this.h()},l(e){const r=ft("svelte-u9bgzb",document.head);v=l(r,"META",{name:!0,content:!0}),r.forEach(n),ae=s(e),se=l(e,"P",{}),_(se).forEach(n),ie=s(e),f(E.$$.fragment,e),le=s(e),k=l(e,"P",{"data-svelte-h":!0}),b(k)!=="svelte-1rxnq9q"&&(k.innerHTML=ze),de=s(e),C=l(e,"P",{"data-svelte-h":!0}),b(C)!=="svelte-1j0g63g"&&(C.textContent=Ye),ce=s(e),f(Z.$$.fragment,e),ue=s(e),W=l(e,"P",{"data-svelte-h":!0}),b(W)!=="svelte-dyqzt3"&&(W.textContent=Pe),fe=s(e),f(V.$$.fragment,e),pe=s(e),f(I.$$.fragment,e),me=s(e),a=l(e,"DIV",{class:!0});var d=_(a);f(j.$$.fragment,d),Ae=s(d),Y=l(d,"P",{"data-svelte-h":!0}),b(Y)!=="svelte-pqpiv3"&&(Y.textContent=Fe),Je=s(d),P=l(d,"P",{"data-svelte-h":!0}),b(P)!=="svelte-1lz52vk"&&(P.innerHTML=He),Ee=s(d),F=l(d,"P",{"data-svelte-h":!0}),b(F)!=="svelte-1tlg4x1"&&(F.innerHTML=Qe),ke=s(d),w=l(d,"DIV",{class:!0});var ve=_(w);f(B.$$.fragment,ve),Ce=s(ve),H=l(ve,"P",{"data-svelte-h":!0}),b(H)!=="svelte-189cc7b"&&(H.innerHTML=Oe),ve.forEach(n),Ze=s(d),x=l(d,"DIV",{class:!0});var Te=_(x);f(G.$$.fragment,Te),We=s(Te),Q=l(Te,"P",{"data-svelte-h":!0}),b(Q)!=="svelte-1f366pl"&&(Q.innerHTML=Ke),Te.forEach(n),Ve=s(d),M=l(d,"DIV",{class:!0});var $e=_(M);f(X.$$.fragment,$e),Ie=s($e),O=l($e,"P",{"data-svelte-h":!0}),b(O)!=="svelte-14bnrb6"&&(O.textContent=et),$e.forEach(n),je=s(d),U=l(d,"DIV",{class:!0});var we=_(U);f(D.$$.fragment,we),Be=s(we),K=l(we,"P",{"data-svelte-h":!0}),b(K)!=="svelte-1xwrf7t"&&(K.textContent=tt),we.forEach(n),Ge=s(d),ee=l(d,"DIV",{class:!0});var rt=_(ee);f(R.$$.fragment,rt),rt.forEach(n),Xe=s(d),A=l(d,"DIV",{class:!0});var xe=_(A);f(S.$$.fragment,xe),De=s(xe),te=l(xe,"P",{"data-svelte-h":!0}),b(te)!=="svelte-1jovd99"&&(te.textContent=nt),xe.forEach(n),Re=s(d),J=l(d,"DIV",{class:!0});var Me=_(J);f(L.$$.fragment,Me),Se=s(Me),ne=l(Me,"P",{"data-svelte-h":!0}),b(ne)!=="svelte-hggkbx"&&(ne.textContent=ot),Me.forEach(n),d.forEach(n),he=s(e),f(N.$$.fragment,e),ge=s(e),T=l(e,"DIV",{class:!0});var Ue=_(T);f(q.$$.fragment,Ue),Le=s(Ue),oe=l(Ue,"P",{"data-svelte-h":!0}),b(oe)!=="svelte-11to6kt"&&(oe.textContent=st),Ue.forEach(n),be=s(e),f(z.$$.fragment,e),_e=s(e),re=l(e,"P",{}),_(re).forEach(n),this.h()},h(){y(v,"name","hf:doc:metadata"),y(v,"content",ht),y(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(a,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(T,"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,r){t(document.head,v),c(e,ae,r),c(e,se,r),c(e,ie,r),p(E,e,r),c(e,le,r),c(e,k,r),c(e,de,r),c(e,C,r),c(e,ce,r),p(Z,e,r),c(e,ue,r),c(e,W,r),c(e,fe,r),p(V,e,r),c(e,pe,r),p(I,e,r),c(e,me,r),c(e,a,r),p(j,a,null),t(a,Ae),t(a,Y),t(a,Je),t(a,P),t(a,Ee),t(a,F),t(a,ke),t(a,w),p(B,w,null),t(w,Ce),t(w,H),t(a,Ze),t(a,x),p(G,x,null),t(x,We),t(x,Q),t(a,Ve),t(a,M),p(X,M,null),t(M,Ie),t(M,O),t(a,je),t(a,U),p(D,U,null),t(U,Be),t(U,K),t(a,Ge),t(a,ee),p(R,ee,null),t(a,Xe),t(a,A),p(S,A,null),t(A,De),t(A,te),t(a,Re),t(a,J),p(L,J,null),t(J,Se),t(J,ne),c(e,he,r),p(N,e,r),c(e,ge,r),c(e,T,r),p(q,T,null),t(T,Le),t(T,oe),c(e,be,r),p(z,e,r),c(e,_e,r),c(e,re,r),ye=!0},p:lt,i(e){ye||(m(E.$$.fragment,e),m(Z.$$.fragment,e),m(V.$$.fragment,e),m(I.$$.fragment,e),m(j.$$.fragment,e),m(B.$$.fragment,e),m(G.$$.fragment,e),m(X.$$.fragment,e),m(D.$$.fragment,e),m(R.$$.fragment,e),m(S.$$.fragment,e),m(L.$$.fragment,e),m(N.$$.fragment,e),m(q.$$.fragment,e),m(z.$$.fragment,e),ye=!0)},o(e){h(E.$$.fragment,e),h(Z.$$.fragment,e),h(V.$$.fragment,e),h(I.$$.fragment,e),h(j.$$.fragment,e),h(B.$$.fragment,e),h(G.$$.fragment,e),h(X.$$.fragment,e),h(D.$$.fragment,e),h(R.$$.fragment,e),h(S.$$.fragment,e),h(L.$$.fragment,e),h(N.$$.fragment,e),h(q.$$.fragment,e),h(z.$$.fragment,e),ye=!1},d(e){e&&(n(ae),n(se),n(ie),n(le),n(k),n(de),n(C),n(ce),n(ue),n(W),n(fe),n(pe),n(me),n(a),n(he),n(ge),n(T),n(be),n(_e),n(re)),n(v),g(E,e),g(Z,e),g(V,e),g(I,e),g(j),g(B),g(G),g(X),g(D),g(R),g(S),g(L),g(N,e),g(q),g(z,e)}}}const ht='{"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 gt(qe){return dt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $t extends ct{constructor(v){super(),ut(this,v,gt,mt,it,{})}}export{$t as component};
