| sd_noise_scale | R Documentation |
Applies the denoiser's noise scaling for the first sigma, producing the
starting x for the sampling loop. For txt2img pass init_latent
= NULL.
sd_noise_scale(ctx, noise, sigma0, init_latent = NULL)
ctx |
SD context |
noise |
Noise sd_tensor (defines geometry) |
sigma0 |
First sigma of the schedule |
init_latent |
Optional starting latent (img2img); |
An sd_tensor — the scaled starting latent.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.