#include "tensorstore/rank.h"
constexpr const DynamicRank tensorstore::dynamic_rank = {};

Special rank value indicating a rank specified at run time.

The value dynamic_rank is implicitly convertible to DimensionIndex(-1), which at compile-time represents a rank to be specified at run-time, and at run-time represents an unknown rank.

The syntax dynamic_rank(n), for n >= 0, is used to indicate a dynamic rank with an inline buffer that accommodates ranks up to n. Note that dynamic_rank is equivalent to dynamic_rank(0).

struct tensorstore::DynamicRank;

Type of the special dynamic_rank constant.