Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ flops
Method
flops
k_diffusion/models/flops.py:28–32 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
27
@property
28
def
flops(self):
29
flops = 0
30
for
op, args, kwargs in self.ops:
31
flops += op(*args, **kwargs)
32
return
flops
33
34
35
def
op(op, *args, **kwargs):
Callers
nothing calls this directly
Calls
1
op
Function · 0.85
Tested by
no test coverage detected