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 y,u as f,x as b,k as _,y as t,a as c,v as p,d as m,t as h,w as g}from"../chunks/index.da70eac4.js";import{D as $}from"../chunks/Docstring.9419aa1d.js";import{C as rt}from"../chunks/CodeBlock.a9c4becf.js";import{H as Ne,E as pt}from"../chunks/getInferenceSnippets.39110341.js";function mt(ze){let T,re,se,ie,E,le,k,Ye='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.',de,C,qe="To use with Stable Diffusion v-2.1:",ce,Z,ue,W,Pe="To use with Stable Diffusion XL 1.0",fe,V,pe,j,me,r,I,Ae,q,Fe="A tiny distilled VAE model for encoding images into latents and decoding latent representations into images.",Je,P,He='<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>.',Ee,F,Qe=`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).`,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,M,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,x,X,je,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.`,Ie,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,v,z,Le,oe,st="Output of AutoencoderTiny encoding method.",be,Y,ye,ae,_e;return E=new Ne({props:{title:"Tiny AutoEncoder",local:"tiny-autoencoder",headingTag:"h1"}}),Z=new rt({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 rt({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}}),j=new Ne({props:{title:"AutoencoderTiny",local:"diffusers.AutoencoderTiny",headingTag:"h2"}}),I=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"}}),B=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"}}),G=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"}}),X=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"}}),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/main/src/diffusers/models/autoencoders/autoencoder_tiny.py#L179"}}),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/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"}}),L=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"}}),N=new Ne({props:{title:"AutoencoderTinyOutput",local:"diffusers.models.autoencoders.autoencoder_tiny.AutoencoderTinyOutput",headingTag:"h2"}}),z=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#L28"}}),Y=new pt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/autoencoder_tiny.md"}}),{c(){T=i("meta"),re=o(),se=i("p"),ie=o(),u(E.$$.fragment),le=o(),k=i("p"),k.innerHTML=Ye,de=o(),C=i("p"),C.textContent=qe,ce=o(),u(Z.$$.fragment),ue=o(),W=i("p"),W.textContent=Pe,fe=o(),u(V.$$.fragment),pe=o(),u(j.$$.fragment),me=o(),r=i("div"),u(I.$$.fragment),Ae=o(),q=i("p"),q.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(),M=i("div"),u(G.$$.fragment),We=o(),Q=i("p"),Q.innerHTML=Ke,Ve=o(),x=i("div"),u(X.$$.fragment),je=o(),O=i("p"),O.textContent=et,Ie=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(),v=i("div"),u(z.$$.fragment),Le=o(),oe=i("p"),oe.textContent=st,be=o(),u(Y.$$.fragment),ye=o(),ae=i("p"),this.h()},l(e){const a=ft("svelte-u9bgzb",document.head);T=l(a,"META",{name:!0,content:!0}),a.forEach(n),re=s(e),se=l(e,"P",{}),y(se).forEach(n),ie=s(e),f(E.$$.fragment,e),le=s(e),k=l(e,"P",{"data-svelte-h":!0}),b(k)!=="svelte-176znfq"&&(k.innerHTML=Ye),de=s(e),C=l(e,"P",{"data-svelte-h":!0}),b(C)!=="svelte-1j0g63g"&&(C.textContent=qe),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(j.$$.fragment,e),me=s(e),r=l(e,"DIV",{class:!0});var d=y(r);f(I.$$.fragment,d),Ae=s(d),q=l(d,"P",{"data-svelte-h":!0}),b(q)!=="svelte-pqpiv3"&&(q.textContent=Fe),Je=s(d),P=l(d,"P",{"data-svelte-h":!0}),b(P)!=="svelte-1otkjue"&&(P.innerHTML=He),Ee=s(d),F=l(d,"P",{"data-svelte-h":!0}),b(F)!=="svelte-1j6sdev"&&(F.innerHTML=Qe),ke=s(d),w=l(d,"DIV",{class:!0});var Te=y(w);f(B.$$.fragment,Te),Ce=s(Te),H=l(Te,"P",{"data-svelte-h":!0}),b(H)!=="svelte-189cc7b"&&(H.innerHTML=Oe),Te.forEach(n),Ze=s(d),M=l(d,"DIV",{class:!0});var ve=y(M);f(G.$$.fragment,ve),We=s(ve),Q=l(ve,"P",{"data-svelte-h":!0}),b(Q)!=="svelte-1f366pl"&&(Q.innerHTML=Ke),ve.forEach(n),Ve=s(d),x=l(d,"DIV",{class:!0});var $e=y(x);f(X.$$.fragment,$e),je=s($e),O=l($e,"P",{"data-svelte-h":!0}),b(O)!=="svelte-14bnrb6"&&(O.textContent=et),$e.forEach(n),Ie=s(d),U=l(d,"DIV",{class:!0});var we=y(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 at=y(ee);f(R.$$.fragment,at),at.forEach(n),Xe=s(d),A=l(d,"DIV",{class:!0});var Me=y(A);f(S.$$.fragment,Me),De=s(Me),te=l(Me,"P",{"data-svelte-h":!0}),b(te)!=="svelte-1jovd99"&&(te.textContent=nt),Me.forEach(n),Re=s(d),J=l(d,"DIV",{class:!0});var xe=y(J);f(L.$$.fragment,xe),Se=s(xe),ne=l(xe,"P",{"data-svelte-h":!0}),b(ne)!=="svelte-hggkbx"&&(ne.textContent=ot),xe.forEach(n),d.forEach(n),he=s(e),f(N.$$.fragment,e),ge=s(e),v=l(e,"DIV",{class:!0});var Ue=y(v);f(z.$$.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(Y.$$.fragment,e),ye=s(e),ae=l(e,"P",{}),y(ae).forEach(n),this.h()},h(){_(T,"name","hf:doc:metadata"),_(T,"content",ht),_(w,"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"),_(x,"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"),_(ee,"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"),_(J,"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,a){t(document.head,T),c(e,re,a),c(e,se,a),c(e,ie,a),p(E,e,a),c(e,le,a),c(e,k,a),c(e,de,a),c(e,C,a),c(e,ce,a),p(Z,e,a),c(e,ue,a),c(e,W,a),c(e,fe,a),p(V,e,a),c(e,pe,a),p(j,e,a),c(e,me,a),c(e,r,a),p(I,r,null),t(r,Ae),t(r,q),t(r,Je),t(r,P),t(r,Ee),t(r,F),t(r,ke),t(r,w),p(B,w,null),t(w,Ce),t(w,H),t(r,Ze),t(r,M),p(G,M,null),t(M,We),t(M,Q),t(r,Ve),t(r,x),p(X,x,null),t(x,je),t(x,O),t(r,Ie),t(r,U),p(D,U,null),t(U,Be),t(U,K),t(r,Ge),t(r,ee),p(R,ee,null),t(r,Xe),t(r,A),p(S,A,null),t(A,De),t(A,te),t(r,Re),t(r,J),p(L,J,null),t(J,Se),t(J,ne),c(e,he,a),p(N,e,a),c(e,ge,a),c(e,v,a),p(z,v,null),t(v,Le),t(v,oe),c(e,be,a),p(Y,e,a),c(e,ye,a),c(e,ae,a),_e=!0},p:lt,i(e){_e||(m(E.$$.fragment,e),m(Z.$$.fragment,e),m(V.$$.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(S.$$.fragment,e),m(L.$$.fragment,e),m(N.$$.fragment,e),m(z.$$.fragment,e),m(Y.$$.fragment,e),_e=!0)},o(e){h(E.$$.fragment,e),h(Z.$$.fragment,e),h(V.$$.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(S.$$.fragment,e),h(L.$$.fragment,e),h(N.$$.fragment,e),h(z.$$.fragment,e),h(Y.$$.fragment,e),_e=!1},d(e){e&&(n(re),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(r),n(he),n(ge),n(v),n(be),n(ye),n(ae)),n(T),g(E,e),g(Z,e),g(V,e),g(j,e),g(I),g(B),g(G),g(X),g(D),g(R),g(S),g(L),g(N,e),g(z),g(Y,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(ze){return dt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $t extends ct{constructor(T){super(),ut(this,T,gt,mt,it,{})}}export{$t as component};
