Function node with definition region and ignored comment. Mirrors C++ TFuncObj with: params has SEqHashDef comment has SEqHashIgnore
| 54 | |
| 55 | @py_class("testing.py.Func", structural_eq="tree") |
| 56 | class TFunc(tvm_ffi.Object): |
| 57 | """Function node with definition region and ignored comment. |
| 58 | |
| 59 | Mirrors C++ TFuncObj with: |
| 60 | params has SEqHashDef |
| 61 | comment has SEqHashIgnore |
| 62 | """ |
| 63 | |
| 64 | params: list = field(structural_eq="def") |
| 65 | body: list |
| 66 | comment: str = field(structural_eq="ignore", default="") |
| 67 | |
| 68 | |
| 69 | @py_class("testing.py.Expr", structural_eq="tree") |