import{s as qe,n as ke,o as Ae}from"../chunks/scheduler.182ea377.js";import{S as Ve,i as We,g as a,s as o,r as f,A as Re,h as d,f as t,c as r,j as D,u as m,x as u,k as S,y as n,a as c,v as g,d as _,t as b,w as v}from"../chunks/index.abf12888.js";import{D as Z}from"../chunks/Docstring.93f6f462.js";import{H as Se}from"../chunks/Heading.16916d63.js";function Ue($e){let p,K,G,Q,$,X,w,we='<a href="https://huggingface.co/papers/2402.19159" rel="nofollow">Trajectory Consistency Distillation</a> by Jianbin Zheng, Minghui Hu, Zhongyi Fan, Chaoyue Wang, Changxing Ding, Dacheng Tao and Tat-Jen Cham introduced a Strategic Stochastic Sampling (Algorithm 4) that is capable of generating good samples in a small number of steps. Distinguishing it as an advanced iteration of the multistep scheduler (Algorithm 1) in the <a href="https://huggingface.co/papers/2303.01469" rel="nofollow">Consistency Models</a>, Strategic Stochastic Sampling specifically tailored for the trajectory consistency function.',Y,M,Me="The abstract from the paper is:",ee,L,Le="<em>Latent Consistency Model (LCM) extends the Consistency Model to the latent space and leverages the guided consistency distillation technique to achieve impressive performance in accelerating text-to-image synthesis. However, we observed that LCM struggles to generate images with both clarity and detailed intricacy. To address this limitation, we initially delve into and elucidate the underlying causes. Our investigation identifies that the primary issue stems from errors in three distinct areas. Consequently, we introduce Trajectory Consistency Distillation (TCD), which encompasses trajectory consistency function and strategic stochastic sampling. The trajectory consistency function diminishes the distillation errors by broadening the scope of the self-consistency boundary condition and endowing the TCD with the ability to accurately trace the entire trajectory of the Probability Flow ODE. Additionally, strategic stochastic sampling is specifically designed to circumvent the accumulated errors inherent in multi-step consistency sampling, which is meticulously tailored to complement the TCD model. Experiments demonstrate that TCD not only significantly enhances image quality at low NFEs but also yields more detailed results compared to the teacher model at high NFEs.</em>",te,O,Oe='The original codebase can be found at <a href="https://github.com/jabir-zheng/TCD" rel="nofollow">jabir-zheng/TCD</a>.',se,P,ne,i,F,he,q,Pe=`<code>TCDScheduler</code> incorporates the <code>Strategic Stochastic Sampling</code> introduced by the paper <code>Trajectory Consistency Distillation</code>,
extending the original Multistep Consistency Sampling to enable unrestricted trajectory traversal.`,fe,k,Fe='This code is based on the official repo of TCD(<a href="https://github.com/jabir-zheng/TCD" rel="nofollow">https://github.com/jabir-zheng/TCD</a>).',me,A,He=`This model inherits from <a href="/docs/diffusers/v0.27.0/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a> and <a href="/docs/diffusers/v0.27.0/en/api/configuration#diffusers.ConfigMixin">ConfigMixin</a>. <a href="/docs/diffusers/v0.27.0/en/api/configuration#diffusers.ConfigMixin">~ConfigMixin</a> takes care of storing all config
attributes that are passed in the scheduler’s <code>__init__</code> function, such as <code>num_train_timesteps</code>. They can be
accessed via <code>scheduler.config.num_train_timesteps</code>. <a href="/docs/diffusers/v0.27.0/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a> provides general loading and saving
functionality via the <a href="/docs/diffusers/v0.27.0/en/api/schedulers/overview#diffusers.SchedulerMixin.save_pretrained">SchedulerMixin.save_pretrained()</a> and <a href="/docs/diffusers/v0.27.0/en/api/schedulers/overview#diffusers.SchedulerMixin.from_pretrained">from_pretrained()</a> functions.`,ge,T,H,_e,V,Ee=`Ensures interchangeability with schedulers that need to scale the denoising model input depending on the
current timestep.`,be,x,E,ve,W,Ne="Sets the begin index for the scheduler. This function should be run from pipeline before the inference.",Te,y,N,xe,R,ze="Sets the discrete timesteps used for the diffusion chain (to be run before inference).",ye,C,z,Ce,U,Ie=`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).`,oe,I,re,h,j,De,J,je="Output class for the scheduler’s <code>step</code> function output.",ie,B,ae;return $=new Se({props:{title:"TCDScheduler",local:"tcdscheduler",headingTag:"h1"}}),P=new Se({props:{title:"TCDScheduler",local:"diffusers.TCDScheduler",headingTag:"h2"}}),F=new Z({props:{name:"class diffusers.TCDScheduler",anchor:"diffusers.TCDScheduler",parameters:[{name:"num_train_timesteps",val:": int = 1000"},{name:"beta_start",val:": float = 0.00085"},{name:"beta_end",val:": float = 0.012"},{name:"beta_schedule",val:": str = 'scaled_linear'"},{name:"trained_betas",val:": Union = None"},{name:"original_inference_steps",val:": int = 50"},{name:"clip_sample",val:": bool = False"},{name:"clip_sample_range",val:": float = 1.0"},{name:"set_alpha_to_one",val:": bool = True"},{name:"steps_offset",val:": int = 0"},{name:"prediction_type",val:": str = 'epsilon'"},{name:"thresholding",val:": bool = False"},{name:"dynamic_thresholding_ratio",val:": float = 0.995"},{name:"sample_max_value",val:": float = 1.0"},{name:"timestep_spacing",val:": str = 'leading'"},{name:"timestep_scaling",val:": float = 10.0"},{name:"rescale_betas_zero_snr",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.TCDScheduler.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.TCDScheduler.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.TCDScheduler.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.TCDScheduler.beta_schedule",description:`<strong>beta_schedule</strong> (<code>str</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.TCDScheduler.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.TCDScheduler.original_inference_steps",description:`<strong>original_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 50) &#x2014;
The default number of inference steps used to generate a linearly-spaced timestep schedule, from which we
will ultimately take <code>num_inference_steps</code> evenly spaced timesteps to form the final timestep schedule.`,name:"original_inference_steps"},{anchor:"diffusers.TCDScheduler.clip_sample",description:`<strong>clip_sample</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Clip the predicted sample for numerical stability.`,name:"clip_sample"},{anchor:"diffusers.TCDScheduler.clip_sample_range",description:`<strong>clip_sample_range</strong> (<code>float</code>, defaults to 1.0) &#x2014;
The maximum magnitude for sample clipping. Valid only when <code>clip_sample=True</code>.`,name:"clip_sample_range"},{anchor:"diffusers.TCDScheduler.set_alpha_to_one",description:`<strong>set_alpha_to_one</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Each diffusion step uses the alphas product value at that step and at the previous one. For the final step
there is no previous alpha. When this option is <code>True</code> the previous alpha product is fixed to <code>1</code>,
otherwise it uses the alpha value at step 0.`,name:"set_alpha_to_one"},{anchor:"diffusers.TCDScheduler.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.TCDScheduler.prediction_type",description:`<strong>prediction_type</strong> (<code>str</code>, defaults to <code>epsilon</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://imagen.research.google/video/paper.pdf" rel="nofollow">Imagen
Video</a> paper).`,name:"prediction_type"},{anchor:"diffusers.TCDScheduler.thresholding",description:`<strong>thresholding</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the &#x201C;dynamic thresholding&#x201D; method. This is unsuitable for latent-space diffusion models such
as Stable Diffusion.`,name:"thresholding"},{anchor:"diffusers.TCDScheduler.dynamic_thresholding_ratio",description:`<strong>dynamic_thresholding_ratio</strong> (<code>float</code>, defaults to 0.995) &#x2014;
The ratio for the dynamic thresholding method. Valid only when <code>thresholding=True</code>.`,name:"dynamic_thresholding_ratio"},{anchor:"diffusers.TCDScheduler.sample_max_value",description:`<strong>sample_max_value</strong> (<code>float</code>, defaults to 1.0) &#x2014;
The threshold value for dynamic thresholding. Valid only when <code>thresholding=True</code>.`,name:"sample_max_value"},{anchor:"diffusers.TCDScheduler.timestep_spacing",description:`<strong>timestep_spacing</strong> (<code>str</code>, defaults to <code>&quot;leading&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.TCDScheduler.timestep_scaling",description:`<strong>timestep_scaling</strong> (<code>float</code>, defaults to 10.0) &#x2014;
The factor the timesteps will be multiplied by when calculating the consistency model boundary conditions
<code>c_skip</code> and <code>c_out</code>. Increasing this will decrease the approximation error (although the approximation
error at the default of <code>10.0</code> is already pretty small).`,name:"timestep_scaling"},{anchor:"diffusers.TCDScheduler.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/v0.27.0/src/diffusers/schedulers/scheduling_tcd.py#L133"}}),H=new Z({props:{name:"scale_model_input",anchor:"diffusers.TCDScheduler.scale_model_input",parameters:[{name:"sample",val:": FloatTensor"},{name:"timestep",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.TCDScheduler.scale_model_input.sample",description:`<strong>sample</strong> (<code>torch.FloatTensor</code>) &#x2014;
The input sample.`,name:"sample"},{anchor:"diffusers.TCDScheduler.scale_model_input.timestep",description:`<strong>timestep</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The current timestep in the diffusion chain.`,name:"timestep"}],source:"https://github.com/huggingface/diffusers/blob/v0.27.0/src/diffusers/schedulers/scheduling_tcd.py#L300",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.FloatTensor</code></p>
`}}),E=new Z({props:{name:"set_begin_index",anchor:"diffusers.TCDScheduler.set_begin_index",parameters:[{name:"begin_index",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.TCDScheduler.set_begin_index.begin_index",description:`<strong>begin_index</strong> (<code>int</code>) &#x2014;
The begin index for the scheduler.`,name:"begin_index"}],source:"https://github.com/huggingface/diffusers/blob/v0.27.0/src/diffusers/schedulers/scheduling_tcd.py#L290"}}),N=new Z({props:{name:"set_timesteps",anchor:"diffusers.TCDScheduler.set_timesteps",parameters:[{name:"num_inference_steps",val:": Optional = None"},{name:"device",val:": Union = None"},{name:"original_inference_steps",val:": Optional = None"},{name:"timesteps",val:": Optional = None"},{name:"strength",val:": int = 1.0"}],parametersDescription:[{anchor:"diffusers.TCDScheduler.set_timesteps.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The number of diffusion steps used when generating samples with a pre-trained model. If used,
<code>timesteps</code> must be <code>None</code>.`,name:"num_inference_steps"},{anchor:"diffusers.TCDScheduler.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"},{anchor:"diffusers.TCDScheduler.set_timesteps.original_inference_steps",description:`<strong>original_inference_steps</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The original number of inference steps, which will be used to generate a linearly-spaced timestep
schedule (which is different from the standard <code>diffusers</code> implementation). We will then take
<code>num_inference_steps</code> timesteps from this schedule, evenly spaced in terms of indices, and use that as
our final timestep schedule. If not set, this will default to the <code>original_inference_steps</code> attribute.`,name:"original_inference_steps"},{anchor:"diffusers.TCDScheduler.set_timesteps.timesteps",description:`<strong>timesteps</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Custom timesteps used to support arbitrary spacing between timesteps. If <code>None</code>, then the default
timestep spacing strategy of equal spacing between timesteps on the training/distillation timestep
schedule is used. If <code>timesteps</code> is passed, <code>num_inference_steps</code> must be <code>None</code>.`,name:"timesteps"}],source:"https://github.com/huggingface/diffusers/blob/v0.27.0/src/diffusers/schedulers/scheduling_tcd.py#L361"}}),z=new Z({props:{name:"step",anchor:"diffusers.TCDScheduler.step",parameters:[{name:"model_output",val:": FloatTensor"},{name:"timestep",val:": int"},{name:"sample",val:": FloatTensor"},{name:"eta",val:": float = 0.3"},{name:"generator",val:": Optional = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.TCDScheduler.step.model_output",description:`<strong>model_output</strong> (<code>torch.FloatTensor</code>) &#x2014;
The direct output from learned diffusion model.`,name:"model_output"},{anchor:"diffusers.TCDScheduler.step.timestep",description:`<strong>timestep</strong> (<code>int</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.TCDScheduler.step.sample",description:`<strong>sample</strong> (<code>torch.FloatTensor</code>) &#x2014;
A current instance of a sample created by the diffusion process.`,name:"sample"},{anchor:"diffusers.TCDScheduler.step.eta",description:`<strong>eta</strong> (<code>float</code>) &#x2014;
A stochastic parameter (referred to as <code>gamma</code> in the paper) used to control the stochasticity in every step.
When eta = 0, it represents deterministic sampling, whereas eta = 1 indicates full stochastic sampling.`,name:"eta"},{anchor:"diffusers.TCDScheduler.step.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
A random number generator.`,name:"generator"},{anchor:"diffusers.TCDScheduler.step.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 <a href="/docs/diffusers/v0.27.0/en/api/schedulers/tcd#diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput">TCDSchedulerOutput</a> or <code>tuple</code>.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/v0.27.0/src/diffusers/schedulers/scheduling_tcd.py#L522",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is <code>True</code>, <a
  href="/docs/diffusers/v0.27.0/en/api/schedulers/tcd#diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput"
>TCDSchedulerOutput</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><code>~schedulers.scheduling_utils.TCDSchedulerOutput</code> or <code>tuple</code></p>
`}}),I=new Se({props:{title:"TCDSchedulerOutput",local:"diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput",headingTag:"h2"}}),j=new Z({props:{name:"class diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput",anchor:"diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput",parameters:[{name:"prev_sample",val:": FloatTensor"},{name:"pred_noised_sample",val:": Optional = None"}],parametersDescription:[{anchor:"diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput.prev_sample",description:`<strong>prev_sample</strong> (<code>torch.FloatTensor</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_tcd.TCDSchedulerOutput.pred_noised_sample",description:`<strong>pred_noised_sample</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, num_channels, height, width)</code> for images) &#x2014;
The predicted noised sample <code>(x_{s})</code> based on the model output from the current timestep.`,name:"pred_noised_sample"}],source:"https://github.com/huggingface/diffusers/blob/v0.27.0/src/diffusers/schedulers/scheduling_tcd.py#L34"}}),{c(){p=a("meta"),K=o(),G=a("p"),Q=o(),f($.$$.fragment),X=o(),w=a("p"),w.innerHTML=we,Y=o(),M=a("p"),M.textContent=Me,ee=o(),L=a("p"),L.innerHTML=Le,te=o(),O=a("p"),O.innerHTML=Oe,se=o(),f(P.$$.fragment),ne=o(),i=a("div"),f(F.$$.fragment),he=o(),q=a("p"),q.innerHTML=Pe,fe=o(),k=a("p"),k.innerHTML=Fe,me=o(),A=a("p"),A.innerHTML=He,ge=o(),T=a("div"),f(H.$$.fragment),_e=o(),V=a("p"),V.textContent=Ee,be=o(),x=a("div"),f(E.$$.fragment),ve=o(),W=a("p"),W.textContent=Ne,Te=o(),y=a("div"),f(N.$$.fragment),xe=o(),R=a("p"),R.textContent=ze,ye=o(),C=a("div"),f(z.$$.fragment),Ce=o(),U=a("p"),U.textContent=Ie,oe=o(),f(I.$$.fragment),re=o(),h=a("div"),f(j.$$.fragment),De=o(),J=a("p"),J.innerHTML=je,ie=o(),B=a("p"),this.h()},l(e){const s=Re("svelte-u9bgzb",document.head);p=d(s,"META",{name:!0,content:!0}),s.forEach(t),K=r(e),G=d(e,"P",{}),D(G).forEach(t),Q=r(e),m($.$$.fragment,e),X=r(e),w=d(e,"P",{"data-svelte-h":!0}),u(w)!=="svelte-3svyx2"&&(w.innerHTML=we),Y=r(e),M=d(e,"P",{"data-svelte-h":!0}),u(M)!=="svelte-1cwsb16"&&(M.textContent=Me),ee=r(e),L=d(e,"P",{"data-svelte-h":!0}),u(L)!=="svelte-26l4oe"&&(L.innerHTML=Le),te=r(e),O=d(e,"P",{"data-svelte-h":!0}),u(O)!=="svelte-1pz11zl"&&(O.innerHTML=Oe),se=r(e),m(P.$$.fragment,e),ne=r(e),i=d(e,"DIV",{class:!0});var l=D(i);m(F.$$.fragment,l),he=r(l),q=d(l,"P",{"data-svelte-h":!0}),u(q)!=="svelte-i5yxlu"&&(q.innerHTML=Pe),fe=r(l),k=d(l,"P",{"data-svelte-h":!0}),u(k)!=="svelte-dg51tf"&&(k.innerHTML=Fe),me=r(l),A=d(l,"P",{"data-svelte-h":!0}),u(A)!=="svelte-255l0u"&&(A.innerHTML=He),ge=r(l),T=d(l,"DIV",{class:!0});var de=D(T);m(H.$$.fragment,de),_e=r(de),V=d(de,"P",{"data-svelte-h":!0}),u(V)!=="svelte-1rkfgpx"&&(V.textContent=Ee),de.forEach(t),be=r(l),x=d(l,"DIV",{class:!0});var ce=D(x);m(E.$$.fragment,ce),ve=r(ce),W=d(ce,"P",{"data-svelte-h":!0}),u(W)!=="svelte-1k141rk"&&(W.textContent=Ne),ce.forEach(t),Te=r(l),y=d(l,"DIV",{class:!0});var le=D(y);m(N.$$.fragment,le),xe=r(le),R=d(le,"P",{"data-svelte-h":!0}),u(R)!=="svelte-1vzm9q"&&(R.textContent=ze),le.forEach(t),ye=r(l),C=d(l,"DIV",{class:!0});var ue=D(C);m(z.$$.fragment,ue),Ce=r(ue),U=d(ue,"P",{"data-svelte-h":!0}),u(U)!=="svelte-hi84tp"&&(U.textContent=Ie),ue.forEach(t),l.forEach(t),oe=r(e),m(I.$$.fragment,e),re=r(e),h=d(e,"DIV",{class:!0});var pe=D(h);m(j.$$.fragment,pe),De=r(pe),J=d(pe,"P",{"data-svelte-h":!0}),u(J)!=="svelte-id9kic"&&(J.innerHTML=je),pe.forEach(t),ie=r(e),B=d(e,"P",{}),D(B).forEach(t),this.h()},h(){S(p,"name","hf:doc:metadata"),S(p,"content",Je),S(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),S(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),S(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),S(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),S(i,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),S(h,"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,s){n(document.head,p),c(e,K,s),c(e,G,s),c(e,Q,s),g($,e,s),c(e,X,s),c(e,w,s),c(e,Y,s),c(e,M,s),c(e,ee,s),c(e,L,s),c(e,te,s),c(e,O,s),c(e,se,s),g(P,e,s),c(e,ne,s),c(e,i,s),g(F,i,null),n(i,he),n(i,q),n(i,fe),n(i,k),n(i,me),n(i,A),n(i,ge),n(i,T),g(H,T,null),n(T,_e),n(T,V),n(i,be),n(i,x),g(E,x,null),n(x,ve),n(x,W),n(i,Te),n(i,y),g(N,y,null),n(y,xe),n(y,R),n(i,ye),n(i,C),g(z,C,null),n(C,Ce),n(C,U),c(e,oe,s),g(I,e,s),c(e,re,s),c(e,h,s),g(j,h,null),n(h,De),n(h,J),c(e,ie,s),c(e,B,s),ae=!0},p:ke,i(e){ae||(_($.$$.fragment,e),_(P.$$.fragment,e),_(F.$$.fragment,e),_(H.$$.fragment,e),_(E.$$.fragment,e),_(N.$$.fragment,e),_(z.$$.fragment,e),_(I.$$.fragment,e),_(j.$$.fragment,e),ae=!0)},o(e){b($.$$.fragment,e),b(P.$$.fragment,e),b(F.$$.fragment,e),b(H.$$.fragment,e),b(E.$$.fragment,e),b(N.$$.fragment,e),b(z.$$.fragment,e),b(I.$$.fragment,e),b(j.$$.fragment,e),ae=!1},d(e){e&&(t(K),t(G),t(Q),t(X),t(w),t(Y),t(M),t(ee),t(L),t(te),t(O),t(se),t(ne),t(i),t(oe),t(re),t(h),t(ie),t(B)),t(p),v($,e),v(P,e),v(F),v(H),v(E),v(N),v(z),v(I,e),v(j)}}}const Je='{"title":"TCDScheduler","local":"tcdscheduler","sections":[{"title":"TCDScheduler","local":"diffusers.TCDScheduler","sections":[],"depth":2},{"title":"TCDSchedulerOutput","local":"diffusers.schedulers.scheduling_tcd.TCDSchedulerOutput","sections":[],"depth":2}],"depth":1}';function Ze($e){return Ae(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Xe extends Ve{constructor(p){super(),We(this,p,Ze,Ue,qe,{})}}export{Xe as component};
