ain_timesteps. They can be accessed via scheduler.config.num_train_timesteps.
SchedulerMixin provides general loading and saving functionality via the SchedulerMixin.save_pretrained() and
from_pretrained() functions.

scale_model_input

<
source
>
(
sample: FloatTensor
timestep: typing.Optional[int] = None

)
→
torch.FloatTensor

Parameters 

sample (torch.FloatTensor) — input sample


timestep (int, optional) — current timestep


Returns

torc