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

Method __init__

PATH/core/models/necks/ladder_side_attention_fpn.py:18–20  ·  view source on GitHub ↗
(self, drop_prob=None)

Source from the content-addressed store, hash-verified

16 """
17
18 def __init__(self, drop_prob=None):
19 super(DropPath, self).__init__()
20 self.drop_prob = drop_prob
21
22 def forward(self, x):
23 return drop_path(x, self.drop_prob, self.training)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected