diff --git a/include/tvm/runtime/registry.h b/include/tvm/runtime/registry.h index 40e1a520cb67..ed92e08f0a85 100644 --- a/include/tvm/runtime/registry.h +++ b/include/tvm/runtime/registry.h @@ -249,10 +249,10 @@ class Registry { /*! * \brief Register a function with given name * \param name The name of the function. - * \param override Whether allow oveeride existing function. - * \return Reference to theregistry. + * \param override Whether allow overriding existing function. + * \return Reference to the registry. */ - TVM_DLL static Registry& Register(const std::string& name, bool override = false); // NOLINT(*) + TVM_DLL static Registry& Register(const std::string& name, bool override = true); // NOLINT(*) /*! * \brief Erase global function from registry, if exist. * \param name The name of the function.