Skip to content

Commit 45dec17

Browse files
authored
Merge pull request #681 from lmk123568/master
Update convit.py
2 parents 4907f8f + b87d98b commit 45dec17

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)