-
#include "tensorstore/rank.h"
-
template <DimensionIndex Rank>
constexpr StaticOrDynamicRank<Rank> tensorstore::GetDefaultRank(); If
Rank == dynamic_rank
, returnsdynamic_rank
. Otherwise, returnsStaticRank<Rank>{}
.
#include "tensorstore/rank.h"
If Rank == dynamic_rank
, returns dynamic_rank
. Otherwise, returns
StaticRank<Rank>{}
.