text stringlengths 0 5.54k |
|---|
return_dict (bool) β option for returning tuple rather than KarrasVeOutput class |
KarrasVeOutput β updated sample in the diffusion chain and derivative (TODO double check). |
Returns |
KarrasVeOutput or tuple |
KarrasVeOutput if return_dict is True, otherwise a tuple. When |
returning a tuple, the first element is the sample tensor. |
Predict the sample at the previous timestep by reversing the SDE. Core function to propagate the diffusion |
process from the learned model outputs (most often the predicted noise). |
step_correct |
< |
source |
> |
( |
model_output: FloatTensor |
sigma_hat: float |
sigma_prev: float |
sample_hat: FloatTensor |
sample_prev: FloatTensor |
derivative: FloatTensor |
return_dict: bool = True |
) |
β |
prev_sample (TODO) |
Parameters |
model_output (torch.FloatTensor) β direct output from learned diffusion model. |
sigma_hat (float) β TODO |
sigma_prev (float) β TODO |
sample_hat (torch.FloatTensor) β TODO |
sample_prev (torch.FloatTensor) β TODO |
derivative (torch.FloatTensor) β TODO |
return_dict (bool) β option for returning tuple rather than KarrasVeOutput class |
Returns |
prev_sample (TODO) |
updated sample in the diffusion chain. derivative (TODO): TODO |
Correct the predicted sample based on the output model_output of the network. TODO complete description |
Configuration |
The handling of configurations in Diffusers is with the ConfigMixin class. |
class diffusers.ConfigMixin |
< |
source |
> |
( |
) |
Base class for all configuration classes. Stores all configuration parameters under self.config Also handles all |
methods for loading/downloading/saving classes inheriting from ConfigMixin with |
from_config() |
save_config() |
Class attributes: |
config_name (str) β A filename under which the config should stored when calling |
save_config() (should be overridden by parent class). |
ignore_for_config (List[str]) β A list of attributes that should not be saved in the config (should be |
overridden by subclass). |
has_compatibles (bool) β Whether the class has compatible classes (should be overridden by subclass). |
_deprecated_kwargs (List[str]) β Keyword arguments that are deprecated. Note that the init function |
should only have a kwargs argument if at least one argument is deprecated (should be overridden by |
subclass). |
from_config |
< |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.