-
#include "tensorstore/rank.h" - constexpr const DynamicRank tensorstore::dynamic_rank = {};
Special rank value indicating a rank specified at run time.
The value
dynamic_rankis implicitly convertible toDimensionIndex(-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), forn >= 0, is used to indicate a dynamic rank with an inline buffer that accommodates ranks up ton. Note thatdynamic_rankis equivalent todynamic_rank(0).
Related Types¶
- struct tensorstore::DynamicRank;
Type of the special
dynamic_rankconstant.