#include <math.h>#include <stddef.h>#include <stdint.h>#include <string.h>Go to the source code of this file.
Functions | |
| int | ck_diffusion_flow_unipc_step_f32 (const float *latent, const float *velocity, const float *last_sample, const float *last_clean, const float *older_clean, float *next_latent, float *corrected_sample, float *clean, float *scratch, size_t count, size_t scratch_count, size_t step, float older_sigma, float last_sigma, float sigma, float next_sigma) |
| static FlowUpdate | flow_correct (float from, float to, float older) |
| static float | flow_log_snr (float sigma) |
| static FlowUpdate | flow_update (float from, float to, float older) |
| static int | overlaps (const float *a, size_t ac, const float *b, size_t bc) |
| static int | valid_region (const float *ptr, size_t count) |
| int ck_diffusion_flow_unipc_step_f32 | ( | const float * | latent, |
| const float * | velocity, | ||
| const float * | last_sample, | ||
| const float * | last_clean, | ||
| const float * | older_clean, | ||
| float * | next_latent, | ||
| float * | corrected_sample, | ||
| float * | clean, | ||
| float * | scratch, | ||
| size_t | count, | ||
| size_t | scratch_count, | ||
| size_t | step, | ||
| float | older_sigma, | ||
| float | last_sigma, | ||
| float | sigma, | ||
| float | next_sigma ) |
Definition at line 57 of file diffusion_flow_unipc.c.
References count, flow_correct(), flow_update(), overlaps(), and valid_region().
|
static |
Definition at line 28 of file diffusion_flow_unipc.c.
References flow_log_snr(), and flow_update().
Referenced by ck_diffusion_flow_unipc_step_f32().
|
static |
Definition at line 10 of file diffusion_flow_unipc.c.
Referenced by flow_correct(), and flow_update().
|
static |
Definition at line 15 of file diffusion_flow_unipc.c.
References flow_log_snr().
Referenced by ck_diffusion_flow_unipc_step_f32(), and flow_correct().
|
static |
Definition at line 49 of file diffusion_flow_unipc.c.
Referenced by ck_diffusion_flow_unipc_step_f32().
|
static |
Definition at line 43 of file diffusion_flow_unipc.c.
References count.
Referenced by ck_diffusion_flow_unipc_step_f32().