Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ op
Method
op
k_diffusion/models/flops.py:24–25 ·
view source on GitHub ↗
(self, op, *args, **kwargs)
Source
from the content-addressed store, hash-verified
22
self.ops = []
23
24
def
op(self, op, *args, **kwargs):
25
self.ops.append((op, args, kwargs))
26
27
@property
28
def
flops(self):
Callers
6
op
Function · 0.80
forward
Method · 0.80
forward
Method · 0.80
apply_window_attention
Function · 0.80
forward
Method · 0.80
forward
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected