aclmdlGetOutputDataType

Description

Obtains the output data type of a model based on the model description.

Prototype

aclDataType aclmdlGetOutputDataType(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

Sequence number of the output whose data type to obtain, indexed starting at 0

Returns

The data type of the specified output