dpuGetOutputTensorCnt() - 1.1 English

Vitis AI User Guide (UG1414)

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

Synopsis

Int dpuGetOutputTensorCnt
(
DPUTask *task,
const char*nodeName
    );

Arguments

task
The pointer to DPU Task.
nodeName
The pointer to DPU Node’s name.
Note: the available names of one DPU Kernel’s or Task’s output 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 output tensor for the Node, with default value as 0.

Description

Get total number of output Tensors for the specified Node of one DPU Task’s.

Returns

The total number of output tensor for the DPU Task.

Include File

n2cube.h

Availability

Vitis AI v1.0