-
#include "tensorstore/rank.h" -
static constexpr RankConstraint
tensorstore::RankConstraint::Add(DimensionIndex a, DimensionIndex b); -
static constexpr RankConstraint tensorstore::RankConstraint::Add(
std::initializer_list<DimensionIndex> constraints); Adds the rank constraints.
If any constraint is equal to
dynamic_rank, the result isdynamic_rank.Otherwise, the result is the sum of the two fixed ranks.