MCPcopy Create free account
hub / github.com/NVlabs/SegFormer / forward

Method forward

tests/test_models/test_segmentor.py:67–68  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

65 super(ExampleDecodeHead, self).__init__(3, 3, num_classes=19)
66
67 def forward(self, inputs):
68 return self.cls_seg(inputs[0])
69
70
71@HEADS.register_module()

Callers

nothing calls this directly

Calls 1

cls_segMethod · 0.45

Tested by

no test coverage detected