No relevant resource is found in the selected language.
This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Function: float16_to_float
Function: float16_to_float
C Prototype
float aclFloat16ToFloat(aclFloat16 value)
Python Function
output = acl.float16_to_float(value)
Function Usage
Converts data of the ACL float16 type to data of the float32 type.
Input Description
value: int, data to be converted. Its value is of the float16 type.