aclmdlGetOutputNameByIndex

Description

Obtains the output operator name, operator output edge index, top name, or output name of a model output based on the model description. This API is synchronous.

Prototype

const char *aclmdlGetOutputNameByIndex(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 (starting at 0) of the output whose output operator name, operator output edge index, top name, or output name to obtain.

Returns

Returns the output operator name, operator output edge index, top name, or output name. The format of the return value obtained by calling this API varies according to the original network and model build mode.