diff --git a/include/tvm/node/container.h b/include/tvm/node/container.h index c36c6c141451..41b47d3a679e 100644 --- a/include/tvm/node/container.h +++ b/include/tvm/node/container.h @@ -137,7 +137,7 @@ class IterAdapter { * \tparam T The content NodeRef type. */ template::value>::type > + typename = typename std::enable_if::value>::type > class Array : public NodeRef { public: /*! @@ -330,9 +330,9 @@ class Array : public NodeRef { template::value || + std::is_base_of::value || std::is_base_of::value >::type, - typename = typename std::enable_if::value>::type> + typename = typename std::enable_if::value>::type> class Map : public NodeRef { public: /*!