For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Introduction
    • Overview
    • Relevant Technologies
    • Getting Started
  • Setup
    • SDK Installation
    • Additional Setup
    • Third Party Hardware Setup
  • Using the SDK
    • Holoscan Core
    • GPU Resident Execution
    • Holoscan by Example
    • Create an Application
    • Create a Distributed Application
    • Create an Operator
    • Create an Operator via Decorator
    • Create a Condition
    • Dynamic Flow Control
    • CUDA Stream Handling
    • Logging
    • Data Logging
    • Debugging
    • Python Operator Bindings
  • Operators
    • Operators and Extensions
    • Visualization
    • Inference
    • Testing
    • Video I/O Vendor Implementation Guide
  • Components
    • Schedulers
    • Conditions
    • Resources
    • Analytics
  • AI Skills
    • Ai Skills
  • API reference
              • GxfTensorBuffer
  • Performance
    • Performance Considerations
    • Flow Tracking
    • GXF Job Statistics
    • Nsight Profiling
  • HoloHub
    • HoloHub Overview
  • FAQ
    • FAQ
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoDocumentation
On this page
  • Constructors
  • GxfTensorBuffer
  • Methods
  • data
  • size
  • get_bytes
  • resize
  • Member variables
API referenceC++ APIHoloscanNamespacesUtilsClasses

holoscan::utils::GxfTensorBuffer

Beta
||View as Markdown|
Previous

holoscan::profiler::scoped_range

Next

holoscan::utils::get_data_per_model

Buffer wrapping a GXF tensor.

#include <holoscan/utils/holoinfer_utils.hpp>

Inherits from: HoloInfer::Buffer (public)


Constructors

GxfTensorBuffer

Copy
Deleted overload 2
holoscan::utils::GxfTensorBuffer::GxfTensorBuffer(holoscan::utils::GxfTensorBuffer::GxfTensorBuffer(
const holoscan::gxf::Entity &entity,
const nvidia::gxf::Handle<nvidia::gxf::Tensor> &tensor
)

Constructor.

Parameters

entity
const holoscan::gxf::Entity &

GXF entity holding the tensor

tensor
const nvidia::gxf::Handle<nvidia::gxf::Tensor> &

GXF tensor


Methods

data

void * holoscan::utils::GxfTensorBuffer::data() override

Buffer class virtual members implemented by this class.

size

size_t holoscan::utils::GxfTensorBuffer::size() const override

get_bytes

size_t holoscan::utils::GxfTensorBuffer::get_bytes() const override

resize

void holoscan::utils::GxfTensorBuffer::resize(
size_t number_of_elements
) override

Member variables

NameTypeDescription
entity_holoscan::gxf::Entity
tensor_nvidia::gxf::Handle< nvidia::gxf::Tensor >