Skip to content

Commit b87d98b

Browse files
authored
Update convit.py
Cut out the duplicates
1 parent 54a6cca commit b87d98b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

timm/models/convit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def __init__(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0.
6464
self.dim = dim
6565
head_dim = dim // num_heads
6666
self.scale = qk_scale or head_dim ** -0.5
67-
self.locality_strength = locality_strength
6867

6968
self.qk = nn.Linear(dim, dim * 2, bias=qkv_bias)
7069
self.v = nn.Linear(dim, dim, bias=qkv_bias)

0 commit comments

Comments
 (0)