Skip to navigation

holoscan::TensorAxisLayoutMapping

Beta
View as MarkdownOpen in Claude

Map one axis layout an output receives to the layout it emits instead.

An output that preserves its input’s axis layout emits the same layout unless a mapping names the input’s layout; for example a converter from interleaved to planar maps kHWC to kCHW.

#include <holoscan/tensor_contract_types.hpp>

Member variables

NameTypeDescription
fromTensorAxisLayoutLayout received on the preserved input.
toTensorAxisLayoutLayout emitted for it.