Open henbucuoshanghai opened 1 year ago
[( *u_ptr ) = ( *u_ptr ) + 7 * ( ( *c_ptr ) - ( *u_ptr ) );]
https://github.com/fengwang/Stable-Diffusion-NCNN/blob/e3ba9d807c0c40197c8b13be2d94c690b52f7045/stable_diffusion.hpp#L385 why?
it means?denoised_uncond and denoised_cond? ( u_ptr ) = ( u_ptr ) + 7 ( ( c_ptr ) - ( *u_ptr ) ); tks
https://github.com/fengwang/Stable-Diffusion-NCNN/blob/e3ba9d807c0c40197c8b13be2d94c690b52f7045/stable_diffusion.hpp#L385 why?