aclCreateTensorList
Function Usage
Creates an aclTensorList.
Prototype
aclTensorList *aclCreateTensorList(const aclTensor *const *value, uint64_t size)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
value |
Input |
aclTensor pointer on the device. Its value will be assigned to a tensor list. The aclTensor must be created by calling the aclCreateTensor API in advance. |
size |
Input |
Length of a tensor list. |
Returns
Created aclTensorList on success; else, nullptr.
Parent topic: Basic APIs