Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Converts data of the float32 type to data of the aclFloat16 type.
1 | aclFloat16 aclFloatToFloat16(float value) |
1 | output = acl.float_to_float16(value) |
Parameter |
Description |
|---|---|
value |
float: data to be converted. |
Return Value |
Description |
|---|---|
output |
Int, error code. 0 on success; else, failure. |