MCPcopy 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
35def op(op, *args, **kwargs):
36 if getattr(state, "flop_counter", None):
37 state.flop_counter.op(op, *args, **kwargs)
38
39
40def op_linear(x, weight):

Callers 4

flopsMethod · 0.85
ReduceThreadKernelFunction · 0.85
ReduceWarpKernelFunction · 0.85
ReduceBlockKernelFunction · 0.85

Calls 1

opMethod · 0.80

Tested by

no test coverage detected