From 42498b546ef6e4189db180c6a1356bef3e6dfbcb Mon Sep 17 00:00:00 2001 From: reminisce Date: Fri, 11 Oct 2019 22:39:53 -0700 Subject: [PATCH] Chagne default value of override --- include/tvm/runtime/registry.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.