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