Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/SegFormer
/ __init__
Method
__init__
tests/test_models/test_segmentor.py:50–52 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
class
ExampleBackbone(nn.Module):
49
50
def
__init__(self):
51
super(ExampleBackbone, self).__init__()
52
self.conv = nn.Conv2d(3, 3, 3)
53
54
def
init_weights(self, pretrained=None):
55
pass
Callers
2
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected