Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/SegFormer
/ forward
Method
forward
tests/test_models/test_segmentor.py:57–58 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
55
pass
56
57
def
forward(self, x):
58
return
[self.conv(x)]
59
60
61
@HEADS.register_module()
Callers
2
_segmentor_forward_train_test
Function · 0.45
_test_encoder_decoder_forward
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected