dpuGetOutputTensorInCHWInt8() - dpuGetOutputTensorInCHWInt8() - 1.1 English - UG1414

Vitis AI User Guide (UG1414)

Document_ID
UG1414
Release_Date
2020-03-23
Version
1.1 English

Synopsis

int dpuGetOutputTensorInCHWInt8
(
DPUTask *task,
const char *nodeName,
int8_t *data,
int size,
int idx = 0
    )

Arguments

task
The pointer to DPU Task.
nodeName
The pointer to DPU Node name.
data
The start address of CPU memory block for storing output Tensor’s data.
size
The size (in Bytes) of output data to be stored.
idx
The index of a single output tensor for the Node, with default value of 0.

Description

Get DPU Task’s output Tensor and store its data into a CPU memory block. Data will be stored in type of INT8 and in DPU Tensor’s order: height, weight and channel.

Returns

0 on success, or report error in case of failure.

Include File

n2cube.h

Availability

Vitis AI v1.0