Skip to content

Commit

Permalink
Change small vector size (PaddlePaddle#42202)
Browse files Browse the repository at this point in the history
* change samll vector size

* Update type_defs.h
  • Loading branch information
chenwhql committed Apr 26, 2022
1 parent ab24b9c commit 013238a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paddle/phi/core/type_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 013238a

Please sign in to comment.