Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ op
Function
op
k_diffusion/models/flops.py:35–37 ·
view source on GitHub ↗
(op, *args, **kwargs)
Source
from the content-addressed store, hash-verified
33
34
35
def
op(op, *args, **kwargs):
36
if
getattr(state,
"flop_counter"
, None):
37
state.flop_counter.op(op, *args, **kwargs)
38
39
40
def
op_linear(x, weight):
Callers
4
flops
Method · 0.85
ReduceThreadKernel
Function · 0.85
ReduceWarpKernel
Function · 0.85
ReduceBlockKernel
Function · 0.85
Calls
1
op
Method · 0.80
Tested by
no test coverage detected