Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/HumanBench
/ __init__
Method
__init__
PATH/core/models/backbones/vitdet.py:35–37 ·
view source on GitHub ↗
(self, drop_prob=None)
Source
from the content-addressed store, hash-verified
33
""
"
34
35
def
__init__(self, drop_prob=None):
36
super(DropPath, self).__init__()
37
self.drop_prob = drop_prob
38
39
def
forward(self, x):
40
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