↓ 4 callersMethod__init__(self, dim_in: int, dim_out: int, approximate: str = "none", bias: bool = True, dyna_dim=[False, False])
DyFLUX/flux_models/dy_utils.py:135
↓ 3 callersMethodhead_to_batch_dimr""" Reshape the tensor from `[batch_size, seq_len, dim]` to `[batch_size, seq_len, heads, dim // heads]` `heads` is the number of hea
DyFLUX/flux_models/attention_processor_dyn.py:531
↓ 1 callersFunction_gumbel_sigmoid(logits, tau=1, hard=False, eps=1e-10, training=True, threshold=0.5)
DyFLUX/flux_models/dy_utils.py:9
↓ 1 callersMethodcheck_inputs(
self,
prompt,
prompt_2,
height,
width,
prompt_embeds=None,
DyFLUX/flux_models/pipeline_flux_dyn.py:372