Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AtlasAnalyticsLab/AdaFisher
/ init_weight
Method
init_weight
Image_Classification/src/models/cct.py:213–215 ·
view source on GitHub ↗
(m)
Source
from the content-addressed store, hash-verified
211
212
@staticmethod
213
def
init_weight(m):
214
if
isinstance(m, nn.Conv2d):
215
nn.init.kaiming_normal_(m.weight)
216
217
218
class
TransformerClassifier(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected