trol auto correction


lambda_kl (float, optional, defaults to 20.0) —
Lambda parameter to control Kullback–Leibler divergence output


num_reg_steps (int, optional, defaults to 5) —
Number of regularization loss steps


num_auto_corr_rolls (int, optional, defaults to 5) —
Number of auto correction roll steps



Function used to generate inverted latents given a prompt and image.

Examples:


	Copied
>>> import torch
>>> from transformers impor