import{s as We,n as je,o as Ke}from"../chunks/scheduler.53228c21.js";import{S as Be,i as Je,e as a,s,c as u,h as Qe,a as c,d as r,b as n,f as _,g as p,j as b,k as v,l as t,m as l,n as m,t as h,o as f,p as g}from"../chunks/index.100fac89.js";import{C as Xe}from"../chunks/CopyLLMTxtMenu.999d3d86.js";import{D as w}from"../chunks/Docstring.46d0934e.js";import{H as Pe,E as Ye}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d27ae4df.js";function Ze(Me){let x,ee,Y,te,C,re,q,se,L,ke='A scheduler that uses ancestral sampling with Euler method steps. This is a fast scheduler which can often generate good outputs in 20-30 steps. The scheduler is based on the original <a href="https://github.com/crowsonkb/k-diffusion/blob/481677d114f6ea445aa009cf5bd7a9cdee909e47/k_diffusion/sampling.py#L72" rel="nofollow">k-diffusion</a> implementation by <a href="https://github.com/crowsonkb/" rel="nofollow">Katherine Crowson</a>.',ne,O,oe,o,P,be,G,Ie="Ancestral sampling with Euler method steps.",ve,R,ze=`This model inherits from <a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a> and <a href="/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin">ConfigMixin</a>. Check the superclass documentation for the generic
methods the library implements for all schedulers such as loading and saving.`,xe,D,M,$e,W,Ne="Add noise to the original samples according to the noise schedule at the specified timesteps.",De,T,k,Te,j,He="Find the index of a given timestep in the timestep schedule.",Ee,E,I,ye,K,Ve=`Ensures interchangeability with schedulers that need to scale the denoising model input depending on the
current timestep. Scales the denoising model input by <code>(sigma**2 + 1) ** 0.5</code> to match the Euler algorithm.`,Se,y,z,Ae,B,Ue="Sets the begin index for the scheduler. This function should be run from pipeline before the inference.",we,S,N,Ce,J,Fe="Sets the discrete timesteps used for the diffusion chain (to be run before inference).",qe,A,H,Le,Q,Ge=`Predict the sample from the previous timestep by reversing the SDE. This function propagates the diffusion
process from the learned model outputs (most often the predicted noise).`,ie,V,ae,$,U,Oe,X,Re="Output class for the scheduler’s <code>step</code> function output.",ce,F,de,Z,le;return C=new Xe({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),q=new Pe({props:{title:"EulerAncestralDiscreteScheduler",local:"eulerancestraldiscretescheduler",headingTag:"h1"}}),O=new Pe({props:{title:"EulerAncestralDiscreteScheduler",local:"diffusers.EulerAncestralDiscreteScheduler",headingTag:"h2"}}),P=new w({props:{name:"class diffusers.EulerAncestralDiscreteScheduler",anchor:"diffusers.EulerAncestralDiscreteScheduler",parameters:[{name:"num_train_timesteps",val:": int = 1000"},{name:"beta_start",val:": float = 0.0001"},{name:"beta_end",val:": float = 0.02"},{name:"beta_schedule",val:": typing.Literal['linear', 'scaled_linear', 'squaredcos_cap_v2'] = 'linear'"},{name:"trained_betas",val:": typing.Union[numpy.ndarray, typing.List[float], NoneType] = None"},{name:"prediction_type",val:": typing.Literal['epsilon', 'sample', 'v_prediction'] = 'epsilon'"},{name:"timestep_spacing",val:": typing.Literal['linspace', 'leading', 'trailing'] = 'linspace'"},{name:"steps_offset",val:": int = 0"},{name:"rescale_betas_zero_snr",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.num_train_timesteps",description:`<strong>num_train_timesteps</strong> (<code>int</code>, defaults to 1000) &#x2014;
The number of diffusion steps to train the model.`,name:"num_train_timesteps"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.beta_start",description:`<strong>beta_start</strong> (<code>float</code>, defaults to 0.0001) &#x2014;
The starting <code>beta</code> value of inference.`,name:"beta_start"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.beta_end",description:`<strong>beta_end</strong> (<code>float</code>, defaults to 0.02) &#x2014;
The final <code>beta</code> value.`,name:"beta_end"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.beta_schedule",description:`<strong>beta_schedule</strong> (<code>&quot;linear&quot;</code>, <code>&quot;scaled_linear&quot;</code>, or <code>&quot;squaredcos_cap_v2&quot;</code>, defaults to <code>&quot;linear&quot;</code>) &#x2014;
The beta schedule, a mapping from a beta range to a sequence of betas for stepping the model. Choose from
<code>linear</code>, <code>scaled_linear</code>, or <code>squaredcos_cap_v2</code>.`,name:"beta_schedule"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.trained_betas",description:`<strong>trained_betas</strong> (<code>np.ndarray</code>, <em>optional</em>) &#x2014;
Pass an array of betas directly to the constructor to bypass <code>beta_start</code> and <code>beta_end</code>.`,name:"trained_betas"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.prediction_type",description:`<strong>prediction_type</strong> (<code>&quot;epsilon&quot;</code>, <code>&quot;sample&quot;</code>, or <code>&quot;v_prediction&quot;</code>, defaults to <code>&quot;epsilon&quot;</code>, <em>optional</em>) &#x2014;
Prediction type of the scheduler function; can be <code>epsilon</code> (predicts the noise of the diffusion process),
<code>sample</code> (directly predicts the noisy sample<code>) or </code>v_prediction\` (see section 2.4 of <a href="https://huggingface.co/papers/2210.02303" rel="nofollow">Imagen
Video</a> paper).`,name:"prediction_type"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.timestep_spacing",description:`<strong>timestep_spacing</strong> (<code>&quot;linspace&quot;</code>, <code>&quot;leading&quot;</code>, or <code>&quot;trailing&quot;</code>, defaults to <code>&quot;linspace&quot;</code>) &#x2014;
The way the timesteps should be scaled. Refer to Table 2 of the <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and
Sample Steps are Flawed</a> for more information.`,name:"timestep_spacing"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.steps_offset",description:`<strong>steps_offset</strong> (<code>int</code>, defaults to 0) &#x2014;
An offset added to the inference steps, as required by some model families.`,name:"steps_offset"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.rescale_betas_zero_snr",description:`<strong>rescale_betas_zero_snr</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to rescale the betas to have zero terminal SNR. This enables the model to generate very bright and
dark samples instead of limiting it to samples with medium brightness. Loosely related to
<a href="https://github.com/huggingface/diffusers/blob/74fd735eb073eb1d774b1ab4154a0876eb82f055/examples/dreambooth/train_dreambooth.py#L506" rel="nofollow"><code>--offset_noise</code></a>.`,name:"rescale_betas_zero_snr"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L133"}}),M=new w({props:{name:"add_noise",anchor:"diffusers.EulerAncestralDiscreteScheduler.add_noise",parameters:[{name:"original_samples",val:": Tensor"},{name:"noise",val:": Tensor"},{name:"timesteps",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.add_noise.original_samples",description:`<strong>original_samples</strong> (<code>torch.Tensor</code>) &#x2014;
The original samples to which noise will be added.`,name:"original_samples"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.add_noise.noise",description:`<strong>noise</strong> (<code>torch.Tensor</code>) &#x2014;
The noise tensor to add to the original samples.`,name:"noise"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.add_noise.timesteps",description:`<strong>timesteps</strong> (<code>torch.Tensor</code>) &#x2014;
The timesteps at which to add noise, determining the noise level from the schedule.`,name:"timesteps"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L472",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The noisy samples with added noise scaled according to the timestep schedule.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),k=new w({props:{name:"index_for_timestep",anchor:"diffusers.EulerAncestralDiscreteScheduler.index_for_timestep",parameters:[{name:"timestep",val:": typing.Union[float, torch.Tensor]"},{name:"schedule_timesteps",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.index_for_timestep.timestep",description:`<strong>timestep</strong> (<code>float</code> or <code>torch.Tensor</code>) &#x2014;
The timestep value to find in the schedule.`,name:"timestep"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.index_for_timestep.schedule_timesteps",description:`<strong>schedule_timesteps</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
The timestep schedule to search in. If <code>None</code>, uses <code>self.timesteps</code>.`,name:"schedule_timesteps"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L323",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The index of the timestep in the schedule. For the very first step, returns the second index if
multiple matches exist to avoid skipping a sigma when starting mid-schedule (e.g., for image-to-image).</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>int</code></p>
`}}),I=new w({props:{name:"scale_model_input",anchor:"diffusers.EulerAncestralDiscreteScheduler.scale_model_input",parameters:[{name:"sample",val:": Tensor"},{name:"timestep",val:": typing.Union[float, torch.Tensor]"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.scale_model_input.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The input sample.`,name:"sample"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.scale_model_input.timestep",description:`<strong>timestep</strong> (<code>float</code> or <code>torch.Tensor</code>) &#x2014;
The current timestep in the diffusion chain.`,name:"timestep"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L254",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A scaled input sample.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),z=new w({props:{name:"set_begin_index",anchor:"diffusers.EulerAncestralDiscreteScheduler.set_begin_index",parameters:[{name:"begin_index",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.set_begin_index.begin_index",description:`<strong>begin_index</strong> (<code>int</code>, defaults to <code>0</code>) &#x2014;
The begin index for the scheduler.`,name:"begin_index"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L244"}}),N=new w({props:{name:"set_timesteps",anchor:"diffusers.EulerAncestralDiscreteScheduler.set_timesteps",parameters:[{name:"num_inference_steps",val:": int"},{name:"device",val:": typing.Union[str, torch.device, NoneType] = None"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.set_timesteps.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>) &#x2014;
The number of diffusion steps used when generating samples with a pre-trained model.`,name:"num_inference_steps"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.set_timesteps.device",description:`<strong>device</strong> (<code>str</code> or <code>torch.device</code>, <em>optional</em>) &#x2014;
The device to which the timesteps should be moved to. If <code>None</code>, the timesteps are not moved.`,name:"device"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L278"}}),H=new w({props:{name:"step",anchor:"diffusers.EulerAncestralDiscreteScheduler.step",parameters:[{name:"model_output",val:": Tensor"},{name:"timestep",val:": typing.Union[float, torch.Tensor]"},{name:"sample",val:": Tensor"},{name:"generator",val:": typing.Optional[torch._C.Generator] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.EulerAncestralDiscreteScheduler.step.model_output",description:`<strong>model_output</strong> (<code>torch.Tensor</code>) &#x2014;
The direct output from learned diffusion model.`,name:"model_output"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.step.timestep",description:`<strong>timestep</strong> (<code>float</code> or <code>torch.Tensor</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.step.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
A current instance of a sample created by the diffusion process.`,name:"sample"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.step.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
A random number generator.`,name:"generator"},{anchor:"diffusers.EulerAncestralDiscreteScheduler.step.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether or not to return a
<a href="/docs/diffusers/main/en/api/schedulers/euler_ancestral#diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput">EulerAncestralDiscreteSchedulerOutput</a> or tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L369",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is <code>True</code>,
<a
  href="/docs/diffusers/main/en/api/schedulers/euler_ancestral#diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput"
>EulerAncestralDiscreteSchedulerOutput</a> is returned,
otherwise a tuple is returned where the first element is the sample tensor.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/main/en/api/schedulers/euler_ancestral#diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput"
>EulerAncestralDiscreteSchedulerOutput</a> or <code>tuple</code></p>
`}}),V=new Pe({props:{title:"EulerAncestralDiscreteSchedulerOutput",local:"diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput",headingTag:"h2"}}),U=new w({props:{name:"class diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput",anchor:"diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput",parameters:[{name:"prev_sample",val:": Tensor"},{name:"pred_original_sample",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput.prev_sample",description:`<strong>prev_sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, height, width)</code> for images) &#x2014;
Computed sample <code>(x_{t-1})</code> of previous timestep. <code>prev_sample</code> should be used as next model input in the
denoising loop.`,name:"prev_sample"},{anchor:"diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput.pred_original_sample",description:`<strong>pred_original_sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, height, width)</code> for images) &#x2014;
The predicted denoised sample <code>(x_{0})</code> based on the model output from the current timestep.
<code>pred_original_sample</code> can be used to preview progress or for guidance.`,name:"pred_original_sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py#L33"}}),F=new Ye({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/schedulers/euler_ancestral.md"}}),{c(){x=a("meta"),ee=s(),Y=a("p"),te=s(),u(C.$$.fragment),re=s(),u(q.$$.fragment),se=s(),L=a("p"),L.innerHTML=ke,ne=s(),u(O.$$.fragment),oe=s(),o=a("div"),u(P.$$.fragment),be=s(),G=a("p"),G.textContent=Ie,ve=s(),R=a("p"),R.innerHTML=ze,xe=s(),D=a("div"),u(M.$$.fragment),$e=s(),W=a("p"),W.textContent=Ne,De=s(),T=a("div"),u(k.$$.fragment),Te=s(),j=a("p"),j.textContent=He,Ee=s(),E=a("div"),u(I.$$.fragment),ye=s(),K=a("p"),K.innerHTML=Ve,Se=s(),y=a("div"),u(z.$$.fragment),Ae=s(),B=a("p"),B.textContent=Ue,we=s(),S=a("div"),u(N.$$.fragment),Ce=s(),J=a("p"),J.textContent=Fe,qe=s(),A=a("div"),u(H.$$.fragment),Le=s(),Q=a("p"),Q.textContent=Ge,ie=s(),u(V.$$.fragment),ae=s(),$=a("div"),u(U.$$.fragment),Oe=s(),X=a("p"),X.innerHTML=Re,ce=s(),u(F.$$.fragment),de=s(),Z=a("p"),this.h()},l(e){const i=Qe("svelte-u9bgzb",document.head);x=c(i,"META",{name:!0,content:!0}),i.forEach(r),ee=n(e),Y=c(e,"P",{}),_(Y).forEach(r),te=n(e),p(C.$$.fragment,e),re=n(e),p(q.$$.fragment,e),se=n(e),L=c(e,"P",{"data-svelte-h":!0}),b(L)!=="svelte-mxywa3"&&(L.innerHTML=ke),ne=n(e),p(O.$$.fragment,e),oe=n(e),o=c(e,"DIV",{class:!0});var d=_(o);p(P.$$.fragment,d),be=n(d),G=c(d,"P",{"data-svelte-h":!0}),b(G)!=="svelte-15vtfhh"&&(G.textContent=Ie),ve=n(d),R=c(d,"P",{"data-svelte-h":!0}),b(R)!=="svelte-linuuh"&&(R.innerHTML=ze),xe=n(d),D=c(d,"DIV",{class:!0});var ue=_(D);p(M.$$.fragment,ue),$e=n(ue),W=c(ue,"P",{"data-svelte-h":!0}),b(W)!=="svelte-rz9b5o"&&(W.textContent=Ne),ue.forEach(r),De=n(d),T=c(d,"DIV",{class:!0});var pe=_(T);p(k.$$.fragment,pe),Te=n(pe),j=c(pe,"P",{"data-svelte-h":!0}),b(j)!=="svelte-1xn85hs"&&(j.textContent=He),pe.forEach(r),Ee=n(d),E=c(d,"DIV",{class:!0});var me=_(E);p(I.$$.fragment,me),ye=n(me),K=c(me,"P",{"data-svelte-h":!0}),b(K)!=="svelte-1hew89w"&&(K.innerHTML=Ve),me.forEach(r),Se=n(d),y=c(d,"DIV",{class:!0});var he=_(y);p(z.$$.fragment,he),Ae=n(he),B=c(he,"P",{"data-svelte-h":!0}),b(B)!=="svelte-1k141rk"&&(B.textContent=Ue),he.forEach(r),we=n(d),S=c(d,"DIV",{class:!0});var fe=_(S);p(N.$$.fragment,fe),Ce=n(fe),J=c(fe,"P",{"data-svelte-h":!0}),b(J)!=="svelte-1vzm9q"&&(J.textContent=Fe),fe.forEach(r),qe=n(d),A=c(d,"DIV",{class:!0});var ge=_(A);p(H.$$.fragment,ge),Le=n(ge),Q=c(ge,"P",{"data-svelte-h":!0}),b(Q)!=="svelte-hi84tp"&&(Q.textContent=Ge),ge.forEach(r),d.forEach(r),ie=n(e),p(V.$$.fragment,e),ae=n(e),$=c(e,"DIV",{class:!0});var _e=_($);p(U.$$.fragment,_e),Oe=n(_e),X=c(_e,"P",{"data-svelte-h":!0}),b(X)!=="svelte-id9kic"&&(X.innerHTML=Re),_e.forEach(r),ce=n(e),p(F.$$.fragment,e),de=n(e),Z=c(e,"P",{}),_(Z).forEach(r),this.h()},h(){v(x,"name","hf:doc:metadata"),v(x,"content",et),v(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(o,"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,i){t(document.head,x),l(e,ee,i),l(e,Y,i),l(e,te,i),m(C,e,i),l(e,re,i),m(q,e,i),l(e,se,i),l(e,L,i),l(e,ne,i),m(O,e,i),l(e,oe,i),l(e,o,i),m(P,o,null),t(o,be),t(o,G),t(o,ve),t(o,R),t(o,xe),t(o,D),m(M,D,null),t(D,$e),t(D,W),t(o,De),t(o,T),m(k,T,null),t(T,Te),t(T,j),t(o,Ee),t(o,E),m(I,E,null),t(E,ye),t(E,K),t(o,Se),t(o,y),m(z,y,null),t(y,Ae),t(y,B),t(o,we),t(o,S),m(N,S,null),t(S,Ce),t(S,J),t(o,qe),t(o,A),m(H,A,null),t(A,Le),t(A,Q),l(e,ie,i),m(V,e,i),l(e,ae,i),l(e,$,i),m(U,$,null),t($,Oe),t($,X),l(e,ce,i),m(F,e,i),l(e,de,i),l(e,Z,i),le=!0},p:je,i(e){le||(h(C.$$.fragment,e),h(q.$$.fragment,e),h(O.$$.fragment,e),h(P.$$.fragment,e),h(M.$$.fragment,e),h(k.$$.fragment,e),h(I.$$.fragment,e),h(z.$$.fragment,e),h(N.$$.fragment,e),h(H.$$.fragment,e),h(V.$$.fragment,e),h(U.$$.fragment,e),h(F.$$.fragment,e),le=!0)},o(e){f(C.$$.fragment,e),f(q.$$.fragment,e),f(O.$$.fragment,e),f(P.$$.fragment,e),f(M.$$.fragment,e),f(k.$$.fragment,e),f(I.$$.fragment,e),f(z.$$.fragment,e),f(N.$$.fragment,e),f(H.$$.fragment,e),f(V.$$.fragment,e),f(U.$$.fragment,e),f(F.$$.fragment,e),le=!1},d(e){e&&(r(ee),r(Y),r(te),r(re),r(se),r(L),r(ne),r(oe),r(o),r(ie),r(ae),r($),r(ce),r(de),r(Z)),r(x),g(C,e),g(q,e),g(O,e),g(P),g(M),g(k),g(I),g(z),g(N),g(H),g(V,e),g(U),g(F,e)}}}const et='{"title":"EulerAncestralDiscreteScheduler","local":"eulerancestraldiscretescheduler","sections":[{"title":"EulerAncestralDiscreteScheduler","local":"diffusers.EulerAncestralDiscreteScheduler","sections":[],"depth":2},{"title":"EulerAncestralDiscreteSchedulerOutput","local":"diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteSchedulerOutput","sections":[],"depth":2}],"depth":1}';function tt(Me){return Ke(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class at extends Be{constructor(x){super(),Je(this,x,tt,Ze,We,{})}}export{at as component};
