ts to 0.0) — The dropout probability to use.


cross_attention_dim (int, optional) — The number of encoder_hidden_states dimensions to use.


sample_size (int, optional) — Pass if the input is discrete. The width of the latent images.
Note that this is fixed at training time as it is used for learning a number of position embeddings. See
ImagePositionalEmbeddings.


activation_fn (str, optional, defaults to "geglu") — Activation function to be 