 as DDPM
>>> scheduler = PNDMScheduler.from_config(scheduler.config)

save_config

<
source
>
(
save_directory: typing.Union[str, os.PathLike]
push_to_hub: bool = False
**kwargs

)


Parameters 

save_directory (str or os.PathLike) —
Directory where the configuration JSON file will be saved (will be created if it does not exist).



Save a configuration object to the directory save_directory, so that it can be re-loaded using the
from_config() 