aclGetScalarListSize

Function Usage

Obtains the size of the aclScalarList.

Prototype

aclnnStatus aclGetScalarListSize(const aclScalarList *scalarList, uint64_t *size)

Parameters

Parameter

Input/Output

Description

tensorList

Input

Source aclScalarList. The aclScalarList must be created by calling the aclCreateScalarList API in advance.

size

Output

Size of the aclScalarList.

Returns

0 on success; else, failure.