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

Method __and__

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

Source from the content-addressed store, hash-verified

96 # Binary operator overloading (bitwise)
97 # ------------------------------
98 def __and__(self, other):
99 other = self._to_expr(other)
100 return BinOp(BinOpKind.BIT_AND, self, other, self.type)
101
102 def __or__(self, other):
103 other = self._to_expr(other)

Callers

nothing calls this directly

Calls 2

_to_exprMethod · 0.95
BinOpClass · 0.85

Tested by

no test coverage detected