dpuGetOutputTensorAddress() - 1.1 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2020-03-23
Version
1.1 English

Synopsis

dpuGetOutputTensorAddress
(
task,
nodeName,
idx = 0
    )

Arguments

task
The ctypes pointer to DPU Task.
nodeName
The string DPU Node’s name.
Note: The available names of one DPU Kernel’s or Task’s input Node are listed out after a neural network is compiled by VAI_C. If invalid Node name specified, failure message is reported.
idx
The index of a single input tensor for the Node, with default value as 0.

Description

Get the ctypes pointer that points to the data of DPU Task’s output Tensor.
Note: For C++ API, it returns int8_t type start address of DPU Task’s output Tensor.

Returns

Return ctypes pointer that points to the data of DPU Task’s output Tensor. Using together with dpuGetTensorData, the users can get output Tensor’s data.

Include File

n2cube

Availability

Vitis AI v1.0