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

Method ObjectDef

include/tvm/ffi/reflection/registry.h:716–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 */
715 template <typename... ExtraArgs>
716 explicit ObjectDef(ExtraArgs&&... extra_args)
717 : type_index_(Class::_GetOrAllocRuntimeTypeIndex()), type_key_(Class::_type_key) {
718 (MaybeSuppressAutoInit(extra_args), ...);
719 RegisterExtraInfo(std::forward<ExtraArgs>(extra_args)...);
720 }
721
722 /*! \brief Non-copyable / non-movable. */
723 ObjectDef(const ObjectDef&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected