Skip to content

Commit 2e38d53

Browse files
committed
Remove dead line
1 parent f77c04f commit 2e38d53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

timm/models/vision_transformer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ def __init__(
241241
self.fast_attn = hasattr(torch.nn.functional, 'scaled_dot_product_attention') # FIXME
242242
mlp_hidden_dim = int(mlp_ratio * dim)
243243
in_proj_out_dim = mlp_hidden_dim + 3 * dim
244-
out_proj_in_dim = mlp_hidden_dim + dim
245244

246245
self.in_norm = norm_layer(dim)
247246
self.in_proj = nn.Linear(dim, in_proj_out_dim, bias=qkv_bias)

0 commit comments

Comments
 (0)