(self, other: Expr)
| 155 | # NOTE: Cannot override __eq__ and __ne__, which will influence object equal |
| 156 | |
| 157 | def __add__(self, other: Expr) -> "ExprWithOp": |
| 158 | if isinstance(self.struct_info_, tvm.relax.TupleStructInfo) and isinstance(other, tuple): |
| 159 | return tuple([*self, *other]) |
| 160 | |
| 161 | return _binary_op_helper(self, other, _op_ffi_api.add) # type: ignore |
| 162 | |
| 163 | def __radd__(self, other: Expr) -> "ExprWithOp": |
| 164 | return self.__add__(other) |
no test coverage detected