ToAclDataType
Description
Converts op::DataType to aclDataType.
Prototype
aclDataType ToAclDataType(DataType type)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Original data type op::DataType to be converted. |
Return Value
aclDataType type.
Constraints
None
Examples
1 2 3 4 | // Obtain the aclDataType enumeration corresponding to DT_FLOAT. void Func() { aclDataType type = ToAclDataType(DT_FLOAT); } |
Parent topic: data_type_utils