Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/HumanBench
/ __init__
Method
__init__
PATH/core/fp16/utils.py:199–200 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
197
""
"
198
199
def
__init__(self):
200
super(tofp16, self).__init__()
201
202
def
forward(self, input):
203
return
input.half()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected