acltdtGetDataTypeFromItem
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
|
√ |
Function
Obtains the data type of normal data, such as FP16 or FP32.
Prototype
1 | aclDataType acltdtGetDataTypeFromItem(const acltdtDataItem *dataItem) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dataItem |
Input |
Pointer to data of the acltdtDataItem type. Call acltdtCreateDataItem to create data of the acltdtDataItem type in advance. |
Returns
Obtained data type. For details about the type definition, see aclDataType.
Parent topic: acltdtDataItem