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

Method __or__

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

Source from the content-addressed store, hash-verified

100 return BinOp(BinOpKind.BIT_AND, self, other, self.type)
101
102 def __or__(self, other):
103 other = self._to_expr(other)
104 return BinOp(BinOpKind.BIT_OR, self, other, self.type)
105
106 def __xor__(self, other):
107 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