|
nndeploy C++ API
0.2.0
nndeploy C++ API
|
#include <ddim_scheduler.h>
Public Member Functions | |
| DDIMSchedulerParam * | clone () const |
| DDIMSchedulerParam () | |
| virtual base::Status | deserialize (rapidjson::Value &json) |
| DDIMSchedulerParam & | operator= (const DDIMSchedulerParam &other) |
| PARAM_COPY (DDIMSchedulerParam) | |
| PARAM_COPY_TO (DDIMSchedulerParam) | |
| virtual base::Status | serialize (rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) |
| virtual | ~DDIMSchedulerParam () |
Public Member Functions inherited from nndeploy::stable_diffusion::SchedulerParam | |
| SchedulerParam & | operator= (const SchedulerParam ¶m) |
| PARAM_COPY (SchedulerParam) | |
| PARAM_COPY_TO (SchedulerParam) | |
| SchedulerParam () | |
| virtual | ~SchedulerParam () |
Public Member Functions inherited from nndeploy::base::Param | |
| base::Status | addDropdownParam (const std::string &dropdown_param, const std::vector< std::string > &dropdown_values) |
| base::Status | addIoParam (const std::string &io_param) |
| base::Status | addRequiredParam (const std::string &required_param) |
| base::Status | addUiParam (const std::string &ui_param) |
| base::Status | clearDropdownParams () |
| base::Status | clearIoParams () |
| base::Status | clearRequiredParams () |
| base::Status | clearUiParams () |
| virtual base::Status | deserialize (const std::string &json_str) |
| virtual base::Status | get (const std::string &key, base::Any &any) |
| std::map< std::string, std::vector< std::string > > | getDropdownParams () |
| std::vector< std::string > | getIoParams () |
| std::vector< std::string > | getRequiredParams () |
| std::vector< std::string > | getUiParams () |
| virtual base::Status | loadFile (const std::string &path) |
| Param () | |
| base::Status | removeDropdownParam (const std::string &dropdown_param) |
| base::Status | removeIoParam (const std::string &io_param) |
| base::Status | removeRequiredParam (const std::string &required_param) |
| base::Status | removeUiParam (const std::string &ui_param) |
| virtual base::Status | saveFile (const std::string &path) |
| virtual std::string | serialize () |
| virtual base::Status | set (const std::string &key, base::Any &any) |
| base::Status | setDropdownParams (const std::map< std::string, std::vector< std::string >> &dropdown_params) |
| base::Status | setIoParams (const std::vector< std::string > &io_params) |
| base::Status | setRequiredParams (const std::vector< std::string > &required_params) |
| base::Status | setUiParams (const std::vector< std::string > &ui_params) |
| virtual | ~Param () |
Public Attributes | |
| float | beta_end_ = 0.012 |
| std::string | beta_schedule_ = "scaled_linear" |
| float | beta_start_ = 0.00085 |
| float | eta_ = 0.0 |
| bool | set_alpha_to_one_ = false |
Public Attributes inherited from nndeploy::stable_diffusion::SchedulerParam | |
| bool | clip_sample_ = false |
| float | guidance_scale_ = 7.5 |
| int | image_height_ = 512 |
| int | image_width_ = 512 |
| float | init_noise_sigma_ = 1.0f |
| int | num_inference_steps_ = 50 |
| int | num_train_timesteps_ = 1000 |
| int | unet_channels_ = 4 |
| float | vae_scale_factor_ = 0.18215 |
| std::string | version_ = "v1.5" |
Public Attributes inherited from nndeploy::base::Param | |
| std::map< std::string, std::vector< std::string > > | dropdown_params_ |
| std::vector< std::string > | io_params_ |
| std::vector< std::string > | required_params_ |
| std::vector< std::string > | ui_params_ |
Definition at line 31 of file ddim_scheduler.h.
|
inline |
Definition at line 33 of file ddim_scheduler.h.
|
inlinevirtual |
Definition at line 34 of file ddim_scheduler.h.
| DDIMSchedulerParam* nndeploy::stable_diffusion::DDIMSchedulerParam::clone | ( | ) | const |
|
virtual |
Reimplemented from nndeploy::stable_diffusion::SchedulerParam.
|
inline |
| nndeploy::stable_diffusion::DDIMSchedulerParam::PARAM_COPY | ( | DDIMSchedulerParam | ) |
| nndeploy::stable_diffusion::DDIMSchedulerParam::PARAM_COPY_TO | ( | DDIMSchedulerParam | ) |
|
virtual |
Reimplemented from nndeploy::stable_diffusion::SchedulerParam.
| float nndeploy::stable_diffusion::DDIMSchedulerParam::beta_end_ = 0.012 |
Definition at line 56 of file ddim_scheduler.h.
| std::string nndeploy::stable_diffusion::DDIMSchedulerParam::beta_schedule_ = "scaled_linear" |
Definition at line 57 of file ddim_scheduler.h.
| float nndeploy::stable_diffusion::DDIMSchedulerParam::beta_start_ = 0.00085 |
Definition at line 55 of file ddim_scheduler.h.
| float nndeploy::stable_diffusion::DDIMSchedulerParam::eta_ = 0.0 |
Definition at line 58 of file ddim_scheduler.h.
| bool nndeploy::stable_diffusion::DDIMSchedulerParam::set_alpha_to_one_ = false |
Definition at line 59 of file ddim_scheduler.h.