From 8df81f83ef4851c0954cd7782a360445f61ec19b Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Mon, 25 Apr 2022 19:42:18 +0800 Subject: [PATCH] Change small vector size (#42202) * change samll vector size * Update type_defs.h --- paddle/phi/core/type_defs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/phi/core/type_defs.h b/paddle/phi/core/type_defs.h index 0af1c0af230..2edca98bfd9 100644 --- a/paddle/phi/core/type_defs.h +++ b/paddle/phi/core/type_defs.h @@ -38,8 +38,8 @@ using ArgumentMappingFn = using InferMetaFn = void (*)(InferMetaContext* ctx); // Global SmallVector size setting -constexpr size_t kInputSmallVectorSize = 10U; -constexpr size_t kAttrSmallVectorSize = 10U; -constexpr size_t kOutputSmallVectorSize = 5U; +constexpr size_t kInputSmallVectorSize = 15U; +constexpr size_t kAttrSmallVectorSize = 15U; +constexpr size_t kOutputSmallVectorSize = 15U; } // namespace phi -- GitLab