(self, op: Ops, *src: Tensor)
| 157 | |
| 158 | # alu and const_like are used by the mixins |
| 159 | def alu(self, op: Ops, *src: Tensor) -> Tensor: return self._apply_uop(lambda *u: u[0].alu(op, *u[1:]), *src) |
| 160 | def const_like(self, b:ConstType) -> Tensor: return Tensor(self.uop.const_like(b)) |
| 161 | @staticmethod |
| 162 | def const(dtype:DType, b:ConstType|UOp, device:str|tuple[str, ...]|None=None) -> Tensor: |
nothing calls this directly
no test coverage detected