↓ 63 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
FTsvd/diffusers-private/diffusers/models/attention_processor.py:520
↓ 18 callersMethodbatch_to_head_dimr""" Reshape the tensor from `[batch_size, seq_len, dim]` to `[batch_size // heads, seq_len, dim * heads]`. `heads` is the number of h
FTsvd/diffusers-private/diffusers/models/attention_processor.py:503