Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/HumanBench
/ count_zero
Function
count_zero
PATH/helper/flops_helper.py:105–107 ·
view source on GitHub ↗
(m, x, y)
Source
from the content-addressed store, hash-verified
103
104
105
def
count_zero(m, x, y):
106
m.total_ops = torch.Tensor([0])
107
m.total_params = torch.Tensor([0])
108
109
110
def
count_conv2d(m, x, y):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected