mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-06 08:53:07 +08:00
feat: optimize cfg special cases with guidance schdeule (#2033)
This commit is contained in:
@@ -46,6 +46,7 @@ namespace sd_sample {
|
||||
|
||||
bool before_condition(const void* condition, const sd::Tensor<float>& input, sd::Tensor<float>* output);
|
||||
void after_condition(const void* condition, const sd::Tensor<float>& input, const sd::Tensor<float>& output);
|
||||
void invalidate_condition(const void* condition);
|
||||
bool is_step_skipped() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user