Skip to navigation

holoscan::TensorBounds

Beta
View as Markdown

Carry finite logical and resource bounds for a Tensor contract.

A present maximum is positive. An exact representation rank supplies the effective maximum rank when max_rank is absent; logical rank zero uses one physical metadata slot. Bounded-strided interoperability requires one axis record per effective maximum rank and a positive stride bound for each record. Borrowed shape and stride views are copied during contract normalization before the authoring call returns.

#include <holoscan/tensor_contract_types.hpp>

Member variables

NameTypeDescription
max_rankstd::optional< std::uint32_t >Positive dynamic-rank upper bound.
max_byte_spanstd::optional< std::uint64_t >Positive logical byte-span upper bound.
max_shapestd::optional< TensorShapeView >Optional call-lifetime per-axis extents.
max_abs_byte_stridesstd::optional< TensorMaxAbsByteStridesView >Optional call-lifetime maximum absolute byte strides, one per maximum-shape axis.
axesstd::span< const TensorAxisBounds >Optional call-lifetime pre-paired axis bounds for direct normalized authoring.