MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / SchedulerOutput

Class SchedulerOutput

diffusers/src/diffusers/schedulers/scheduling_utils.py:61–71  ·  view source on GitHub ↗

Base class for the output of a scheduler's `step` function. Args: prev_sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)` for images): Computed sample `(x_{t-1})` of previous timestep. `prev_sample` should be used as next model input in the

Source from the content-addressed store, hash-verified

59
60@dataclass
61class SchedulerOutput(BaseOutput):
62 """
63 Base class for the output of a scheduler's `step` function.
64
65 Args:
66 prev_sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)` for images):
67 Computed sample `(x_{t-1})` of previous timestep. `prev_sample` should be used as next model input in the
68 denoising loop.
69 """
70
71 prev_sample: torch.Tensor
72
73
74class SchedulerMixin(PushToHubMixin):

Callers 15

step_prkMethod · 0.85
step_plmsMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
step_correctMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected