Fix incorrect function signature in header (#6172)
authorWuwei Lin <wuwei@apache.org>
Thu, 30 Jul 2020 23:21:19 +0000 (19:21 -0400)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 23:21:19 +0000 (16:21 -0700)
include/tvm/relay/attrs/memory.h

index b737103..85462c0 100644 (file)
@@ -35,7 +35,7 @@ namespace relay {
 
 std::vector<TensorType> FlattenTupleType(const Type& type);
 std::vector<Expr> FromTupleType(const Type& type, const Expr& expr);
-Expr ToTupleType(const Type& t, const Array<Expr>& exprs);
+Expr ToTupleType(const Type& t, const std::vector<Expr>& exprs);
 
 /*!
  * \brief Options for allocating storage.