Skip to content

Commit 0bd5271

Browse files
committed
style
1 parent fdffad4 commit 0bd5271

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/models/attention_processor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,6 @@ def __call__(self, attn: Attention, hidden_states, encoder_hidden_states=None, a
504504
input_ndim = hidden_states.ndim
505505

506506
if input_ndim == 4:
507-
508507
_, channel, height, width = hidden_states.shape
509508

510509
hidden_states = hidden_states.view(batch_size, channel, height * width)

0 commit comments

Comments
 (0)