| 392 | explicit TAllFieldsObj(UnsafeInit) {} |
| 393 | |
| 394 | static void RegisterReflection() { |
| 395 | namespace refl = tvm::ffi::reflection; |
| 396 | refl::ObjectDef<TAllFieldsObj>() |
| 397 | .def_ro("v_bool", &TAllFieldsObj::v_bool) |
| 398 | .def_ro("v_int", &TAllFieldsObj::v_int) |
| 399 | .def_ro("v_float", &TAllFieldsObj::v_float) |
| 400 | .def_ro("v_dtype", &TAllFieldsObj::v_dtype) |
| 401 | .def_ro("v_device", &TAllFieldsObj::v_device) |
| 402 | .def_ro("v_str", &TAllFieldsObj::v_str) |
| 403 | .def_ro("v_opt_str", &TAllFieldsObj::v_opt_str) |
| 404 | .def_ro("v_array", &TAllFieldsObj::v_array) |
| 405 | .def_ro("v_map", &TAllFieldsObj::v_map); |
| 406 | } |
| 407 | |
| 408 | static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode; |
| 409 | TVM_FFI_DECLARE_OBJECT_INFO_FINAL("test.AllFields", TAllFieldsObj, Object); |
nothing calls this directly
no outgoing calls
no test coverage detected