MCPcopy Create free account
hub / github.com/apache/tvm-ffi / RegisterReflection

Method RegisterReflection

tests/cpp/testing_object.h:192–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 explicit TVarObj(UnsafeInit) {}
191
192 static void RegisterReflection() {
193 namespace refl = tvm::ffi::reflection;
194 refl::ObjectDef<TVarObj>().def_ro("name", &TVarObj::name,
195 refl::AttachFieldFlag::SEqHashIgnore());
196 }
197
198 static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindFreeVar;
199 TVM_FFI_DECLARE_OBJECT_INFO_FINAL("test.Var", TVarObj, Object);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected