MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / divmod

Method divmod

cutlass.py/fast_math.py:38–39  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

36 self.divisor = divisor
37
38 def divmod(self, x):
39 return (x // self.divisor, x % self.divisor)
40
41 def __call__(self, x):
42 return self.divmod(x)

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected