Skip to navigation

holoscan::detail::descriptor_tensor_schema_field_id_at

Beta
View as Markdown
template <typename T>
std::optional<std::uint16_t> holoscan::detail::descriptor_tensor_schema_field_id_at(
const std::size_t tensor_index
) noexcept

Return the canonical FlatBuffers field id for one descriptor Tensor index.

Returns: Canonical field id, or no value when the index is out of range.

Template parameters

T
typename

Owning generated descriptor-backed schema type.

Parameters

tensor_index
const std::size_t

Dense ascending-field-id Tensor index.