aclDataType
数据类型 |
说明 |
---|---|
ACL_DT_UNDEFINED = -1 |
未知数据类型,默认值 |
ACL_FLOAT = 0 |
float |
ACL_FLOAT16 = 1 |
float16 |
ACL_INT8 = 2 |
int8 |
ACL_INT32 = 3 |
int32 |
ACL_UINT8 = 4 |
uint8 |
ACL_INT16 = 6 |
int16 |
ACL_UINT16 = 7 |
uint16 |
ACL_UINT32 = 8 |
uint32 |
ACL_INT64 = 9 |
int64 |
ACL_UINT64 = 10 |
uint64 |
ACL_DOUBLE = 11 |
double |
ACL_BOOL = 12 |
bool |
ACL_STRING = 13 |
string |
ACL_COMPLEX64 = 16 |
complex64 |
ACL_COMPLEX128 = 17 |
complex128 |
ACL_BF16 = 27 |
bf16 |
ACL_INT4 = 29 |
int4 |
ACL_UINT1 = 30 |
uint1 |
ACL_COMPLEX32 = 33 |
complex32 |
父主题: 数据类型及其操作接口