Function: float16_to_float
Description
Converts data of the aclFloat16 type to data of the float32 type.
Prototype
- C Prototype
1float aclFloat16ToFloat(aclFloat16 value)
- Python Function
1output = acl.float16_to_float(value)
Parameters
Parameter |
Description |
|---|---|
value |
int: data to be converted. The value is of the aclFloat16 type. |
Return Value
Return Value |
Description |
|---|---|
output |
Float. |
Parent topic: Other APIs