MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __init__

Method __init__

k_diffusion/models/flops.py:21–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19
20class FlopCounter:
21 def __init__(self):
22 self.ops = []
23
24 def op(self, op, *args, **kwargs):
25 self.ops.append((op, args, kwargs))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected