Function: float16_to_float
Applicable Products
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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 |
Data to be converted. The value is an integer of the aclFloat16 type. |
Return Values
Return Value |
Description |
|---|---|
output |
Float. |
Parent topic: Other APIs