| 341 | } |
| 342 | |
| 343 | static void RegisterReflection() { |
| 344 | namespace refl = tvm::ffi::reflection; |
| 345 | refl::ObjectDef<TCustomFuncObj>() |
| 346 | .def_ro("params", &TCustomFuncObj::params) |
| 347 | .def_ro("body", &TCustomFuncObj::body) |
| 348 | .def_ro("comment", &TCustomFuncObj::comment); |
| 349 | refl::TypeAttrDef<TCustomFuncObj>() |
| 350 | .def(refl::type_attr::kSEqual, &TCustomFuncObj::SEqual) |
| 351 | .def(refl::type_attr::kSHash, &TCustomFuncObj::SHash); |
| 352 | } |
| 353 | |
| 354 | static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode; |
| 355 | TVM_FFI_DECLARE_OBJECT_INFO_FINAL("test.CustomFunc", TCustomFuncObj, Object); |
nothing calls this directly
no outgoing calls
no test coverage detected