MCPcopy 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

opFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
apply_window_attentionFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected