Variable node — compared by binding position, not by name. Mirrors C++ TVarObj with: _type_s_eq_hash_kind = kTVMFFISEqHashKindFreeVar name field has SEqHashIgnore
| 35 | |
| 36 | @py_class("testing.py.Var", structural_eq="var") |
| 37 | class TVar(tvm_ffi.Object): |
| 38 | """Variable node — compared by binding position, not by name. |
| 39 | |
| 40 | Mirrors C++ TVarObj with: |
| 41 | _type_s_eq_hash_kind = kTVMFFISEqHashKindFreeVar |
| 42 | name field has SEqHashIgnore |
| 43 | """ |
| 44 | |
| 45 | name: str = field(structural_eq="ignore") |
| 46 | |
| 47 | |
| 48 | @py_class("testing.py.Int", structural_eq="tree") |