MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __init__

Method __init__

PATH/core/models/necks/DoNothing.py:10–11  ·  view source on GitHub ↗
(self, backbone=None, bn_group=None)

Source from the content-addressed store, hash-verified

8
9class DoNothing(nn.Module):
10 def __init__(self, backbone=None, bn_group=None):
11 super(DoNothing, self).__init__()
12
13 def forward(self, x):
14 x.update({'neck_output': x['backbone_output']})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected