We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a6cca commit b87d98bCopy full SHA for b87d98b
timm/models/convit.py
@@ -64,7 +64,6 @@ def __init__(self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0.
64
self.dim = dim
65
head_dim = dim // num_heads
66
self.scale = qk_scale or head_dim ** -0.5
67
- self.locality_strength = locality_strength
68
69
self.qk = nn.Linear(dim, dim * 2, bias=qkv_bias)
70
self.v = nn.Linear(dim, dim, bias=qkv_bias)
0 commit comments