t-safe-for-work” (nsfw) content, according to the safety_checker.


Function invoked when calling the pipeline for generation.

backward_loop

<
source
>
(
latents
timesteps
prompt_embeds
guidance_scale
callback
callback_steps
num_warmup_steps
extra_step_kwargs
cross_attention_kwargs = None

)
→
latents

Parameters 

callback (Callable, optional) —
A function that will be called every callback_steps steps during inference. The function will be
