aclCreateTensorDesc
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Creates data of the aclTensorDesc type as a tensor description, describing the data type, shape, and format of a tensor.
To destroy data of the aclTensorDesc type, call aclDestroyTensorDesc.
Prototype
1 2 3 4 |
aclTensorDesc *aclCreateTensorDesc(aclDataType dataType, int numDims, const int64_t *dims, aclFormat format) |
Parameters
Returns
Pointer to data of the aclTensorDesc type
Parent topic: aclTensorDesc