aclmdlGetInputNameByIndex

Applicability

Product

Supported

Atlas 350 Accelerator Card

√

Atlas A3 training product/Atlas A3 inference product

√

Atlas A2 training product/Atlas A2 inference product

√

Atlas 200I/500 A2 inference product

√

Atlas inference product

√

Atlas training product

√

Function Usage

Obtains the name of an input based on the model description.

Prototype

1
const char *aclmdlGetInputNameByIndex(const aclmdlDesc *modelDesc, size_t index)

Parameters

Parameter

Input/Output

Description

modelDesc

Input

Pointer to data of the aclmdlDesc type

Call aclmdlCreateDesc to create data of the aclmdlDesc type in advance.

index

Input

Index of the input whose name is to be obtained, indexed from 0

Returns

The input name