-
#include "tensorstore/stack.h" -
template <
typename Layers = std::vector<std::variant<Spec, TensorStore<>>>>
auto tensorstore::Concat(const Layers& layers,
DimensionIdentifier concat_dimension,
StackOpenOptions&& options); -
template <
typename Layers = std::vector<std::variant<Spec, TensorStore<>>>,
typename... Option>
requires IsCompatibleOptionSequence<StackOpenOptions, Option...>
auto tensorstore::Concat(const Layers& layers,
DimensionIdentifier concat_dimension,
Option&&... option); Virtually concatenates a sequence of
TensorStoreorSpeclayers along an existing dimension.- Parameters:¶
- const Layers &layers¶
Sequence of layers to concatenate.
- DimensionIdentifier concat_dimension¶
Dimension along which to concatenate the layers.
- StackOpenOptions &&options¶
Options for opening the concatenated view.
- Option&&... option
Individual option compatible with
StackOpenOptions.
- Returns:¶
The concatenated
TensorStore<Element, Rank, Mode>if the layer value type isTensorStore<Element, Rank, Mode>, orTensorStore<>otherwise.