-
#include "tensorstore/rank.h"
- constexpr bool tensorstore::IsValidInlineRank(InlineRank inline_rank);
Checks if
inline_rank
is a valid compile-time rank constraint.Supported values are:
Any fixed rank for
0 <= inline_rank <= kMaxRank
.dynamic_rank
, indicating an unspecified rank and no inline buffer.dynamic_rank(k)
, for0 <= k <= kMaxRank
, indicating an unspecified rank with inline storage up tok
.