holoscan::utils::TensorTransmitCache
BetaThis page is for version 4.6.
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
Persistent cache for output message and tensor allocations used by the cached variant of transmit_data_per_model.
Holds a reusable GXF entity and per-tensor metadata to minimise per-frame overhead. Three cases are handled each frame:
- First use or buffer too small: full reshape (reallocate + update shape).
- Incoming fits in existing allocation but dims changed: wrapMemory to update shape metadata only — no free/alloc of the underlying buffer.
- Same dims as last frame: fast path, no tensor mutation at all.
Member variables
Inner classes
ResolvedOutput