MCPcopy Create free account
hub / github.com/ByteDance-Seed/Triton-distributed / __mod__

Method __mod__

python/little_kernel/core/expr.py:91–93  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

89 return BinOp(BinOpKind.DIV, self, other, self.type)
90
91 def __mod__(self, other):
92 other = self._to_expr(other)
93 return BinOp(BinOpKind.MOD, self, other, self.type)
94
95 # ------------------------------
96 # Binary operator overloading (bitwise)

Callers

nothing calls this directly

Calls 2

_to_exprMethod · 0.95
BinOpClass · 0.85

Tested by

no test coverage detected