Add node. Parameters ---------- a : PrimExpr The left hand operand. b : PrimExpr The right hand operand. span : Optional[Span] The location of this expression in the source code.
| 708 | |
| 709 | @tvm_ffi.register_object("tirx.Add") |
| 710 | class Add(BinaryOpExpr): |
| 711 | """Add node. |
| 712 | |
| 713 | Parameters |
| 714 | ---------- |
| 715 | a : PrimExpr |
| 716 | The left hand operand. |
| 717 | |
| 718 | b : PrimExpr |
| 719 | The right hand operand. |
| 720 | |
| 721 | span : Optional[Span] |
| 722 | The location of this expression in the source code. |
| 723 | """ |
| 724 | |
| 725 | def __init__(self, a: PrimExpr, b: PrimExpr, span: Span | None = None) -> None: |
| 726 | self.__init_handle_by_constructor__(_ffi_api.Add, a, b, span) # type: ignore |
| 727 | |
| 728 | |
| 729 | @tvm_ffi.register_object("tirx.Sub") |
no outgoing calls