> This page is for version 5.0 (Latest) (default).
> For other versions, use one of these documentation indexes:
> - 5.0 (Latest) (default): https://docs.nvidia.com/holoscan/sdk-user-guide/5-0-latest/llms.txt
> - ltsb-2.0: https://docs.nvidia.com/holoscan/sdk-user-guide/ltsb-2-0/llms.txt
> - 4.6: https://docs.nvidia.com/holoscan/sdk-user-guide/4-6/llms.txt
> - 4.5: https://docs.nvidia.com/holoscan/sdk-user-guide/4-5/llms.txt
> - 4.4: https://docs.nvidia.com/holoscan/sdk-user-guide/4-4/llms.txt
> - 4.3: https://docs.nvidia.com/holoscan/sdk-user-guide/4-3/llms.txt
> - Archives: https://docs.nvidia.com/holoscan/sdk-user-guide/archives/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::ChannelResolvedTensorBundle

> Resolved metadata and canonically indexed Tensor fields.

```cpp showLineNumbers={false}
template <ChannelDescriptorFlatBufferPayload Payload>
struct ChannelResolvedTensorBundle
```

Resolved metadata and canonically indexed [Tensor](../classes/tensor) fields.

```cpp showLineNumbers={false}
#include <holoscan/tensor_schema_endpoints.hpp>
```

**Template parameters**

**`Payload`** `ChannelDescriptorFlatBufferPayload`

Descriptor-backed FlatBuffer payload type.

---

---

## Methods

### metadata_bytes \[#metadatabytes]

```cpp showLineNumbers={false}
std::span<const std::byte> holoscan::ChannelResolvedTensorBundle<Payload>::metadata_bytes() const noexcept
```

Return a view over the serialized FlatBuffer metadata bytes.

### root \[#root]

```cpp showLineNumbers={false}
const root_type * holoscan::ChannelResolvedTensorBundle<Payload>::root() const noexcept
```

Return the FlatBuffer root view into metadata, or nullptr if metadata is empty.

---

## Types

### Typedefs

| Name            | Definition                               |
| --------------- | ---------------------------------------- |
| `payload_type`  | `Payload`                                |
| `root_type`     | `typename Payload::root_type`            |
| `metadata_type` | `ChannelTensorSchemaMetadata< Payload >` |

---

## Member variables

| Name                            | Type                                            | Description                                                              |
| ------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------ |
| `kTensorCount` static constexpr | `std::size_t`                                   |                                                                          |
| `metadata`                      | `metadata_type`                                 | Validated schema metadata with transport-only descriptor fields removed. |
| `sample_metadata`               | `SampleMetadata`                                | Transport-neutral sample metadata carried by the Runtime envelope.       |
| `tensors`                       | `std::array< Tensor, kTensorCount >`            | Tensors materialized in canonical generated-field order.                 |
| `payloads`                      | `std::array< PayloadDescriptor, kTensorCount >` | Runtime payload references corresponding to the materialized Tensors.    |