dpuGetInputTensorCnt() - 1.2 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2020-07-21
Version
1.2 English

Synopsis

Int dpuGetInputTensorCnt
(
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 input Node are listed out after a neural network is compiled by VAI_C. If invalid Node name specified, failure message is reported.

Description

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

Returns

The total number of input tensor for specified Node.

Include File

n2cube.h

Availability

Vitis AI v1.0