Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/SegFormer
/ init_weights
Method
init_weights
tests/test_models/test_segmentor.py:54–55 ·
view source on GitHub ↗
(self, pretrained=None)
Source
from the content-addressed store, hash-verified
52
self.conv = nn.Conv2d(3, 3, 3)
53
54
def
init_weights(self, pretrained=None):
55
pass
56
57
def
forward(self, x):
58
return
[self.conv(x)]
Callers
3
test_resnet_backbone
Function · 0.45
test_resnext_backbone
Function · 0.45
test_resnest_backbone
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected