diff --git a/include/tvm/runtime/object.h b/include/tvm/runtime/object.h index 81dcb43c0b52..892294bd8270 100644 --- a/include/tvm/runtime/object.h +++ b/include/tvm/runtime/object.h @@ -77,9 +77,12 @@ struct TypeIndex { /*! \brief runtime::RPCObjectRef */ kRuntimeRPCObjectRef = 9, // static assignments that may subject to change. - kStaticIndexEnd, - /*! \brief Type index is allocated during runtime. */ - kDynamic = kStaticIndexEnd + kStaticIndexEnd = 10, + /*! + * \brief Type index is allocated during runtime, keeping it as + * constant for now to ensure compatibility across versions + */ + kDynamic = 12 }; }; // namespace TypeIndex