Buckets:
| import"../chunks/DsnmJJEf.js";import{i as D,h as M,C as w,H as t,D as u,E as x,s as y}from"../chunks/DBNuz8hP.js";import{p as O,o as T,s as e,f as k,a as h,b as C,c as p,d as g,r as m,n as f}from"../chunks/CQ2f15a1.js";const z='{"title":"LMSDiscreteScheduler","local":"lmsdiscretescheduler","sections":[{"title":"LMSDiscreteScheduler","local":"diffusers.LMSDiscreteScheduler","sections":[],"depth":2},{"title":"LMSDiscreteSchedulerOutput","local":"diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteSchedulerOutput","sections":[],"depth":2}],"depth":1}';var P=g('<meta name="hf:doc:metadata"/>'),E=g('<p></p> <!> <!> <p><code>LMSDiscreteScheduler</code> is a linear multistep scheduler for discrete beta schedules. The scheduler is ported from and created by <a href="https://github.com/crowsonkb/" rel="nofollow">Katherine Crowson</a>, and the original implementation can be found at <a href="https://github.com/crowsonkb/k-diffusion/blob/481677d114f6ea445aa009cf5bd7a9cdee909e47/k_diffusion/sampling.py#L181" rel="nofollow">crowsonkb/k-diffusion</a>.</p> <!> <div class="docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"><!></div> <!> <div class="docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"><!> <p>Output class for the scheduler’s <code>step</code> function output.</p></div> <!> <p></p>',1);function G(_,b){O(b,!1),T(()=>{new URLSearchParams(window.location.search).get("fw")}),D();var i=E();M("1q7vup5",l=>{var n=P();y(n,"content",z),h(l,n)});var d=e(k(i),2);w(d,{containerStyle:"float: inline-end; margin-inline-start: 10px; display: inline-flex; position: relative; z-index: 10;"});var o=e(d,2);t(o,{title:"LMSDiscreteScheduler",local:"lmsdiscretescheduler",headingTag:"h1"});var a=e(o,4);t(a,{title:"LMSDiscreteScheduler",local:"diffusers.LMSDiscreteScheduler",headingTag:"h2"});var s=e(a,2),S=p(s);u(S,{name:"class diffusers.LMSDiscreteScheduler",anchor:"diffusers.LMSDiscreteScheduler",source:"https://github.com/huggingface/diffusers/blob/vr_15328/src/diffusers/utils/dummy_torch_and_scipy_objects.py#L5",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}]}),m(s);var c=e(s,2);t(c,{title:"LMSDiscreteSchedulerOutput",local:"diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteSchedulerOutput",headingTag:"h2"});var r=e(c,2),v=p(r);u(v,{name:"class diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteSchedulerOutput",anchor:"diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteSchedulerOutput",source:"https://github.com/huggingface/diffusers/blob/vr_15328/src/diffusers/schedulers/scheduling_lms_discrete.py#L34",parameters:[{name:"prev_sample",val:": Tensor"},{name:"pred_original_sample",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteSchedulerOutput.prev_sample",description:`<strong>prev_sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, height, width)</code> for images) — | |
| 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_lms_discrete.LMSDiscreteSchedulerOutput.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) — | |
| 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"}]}),f(2),m(r);var L=e(r,2);x(L,{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/schedulers/lms_discrete.md"}),f(2),h(_,i),C()}export{G as component}; | |
Xet Storage Details
- Size:
- 3.85 kB
- Xet hash:
- a95f534c2fd6bad1b26016469923b67e0340859a535d5f35272d4e884fca4995
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.