-
#include "tensorstore/index_space/index_transform_builder.h" -
template <typename Labels>
IndexTransformBuilder&
tensorstore::IndexTransformBuilder<InputRank, OutputRank>::
input_labels(const Labels& labels); -
template <size_t N>
IndexTransformBuilder&
tensorstore::IndexTransformBuilder<InputRank, OutputRank>::
input_labels(const std::string_view (&labels)[N]); Sets the
input_labelsvector to the specified value.- Parameters:¶
- const Labels &labels¶
- const std::string_view (&labels)[N]
A sequence with
value_typeconvertible tostd::string_viewspecifying the label for each input dimension.
- Pre:¶
valid() == true- Checks:¶
The size of the
labelsvector must equalinput_rank().
Note
Calling this method after it has already been called simply overrides the previous value.