NVIDIA NvNeural SDK
2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
Float16 is a CPU-side implementation of half-precision floating point (aka FP16). More...
#include <nvneural/CoreTypes.h>
Public Member Functions | |
Float16 ()=default | |
Default constructor, initializes to zero. | |
Float16 (const Float16 ©From) | |
Copy constructor. | |
Float16 (float value) | |
Converts a regular float to a Float16. | |
operator float () const | |
Converts the stored value to a float. | |
Float16 & | operator= (const Float16 ©From) |
Assignment operator from Float16. | |
Float16 & | operator= (double value) |
Assignment operator from float/double. | |
Public Attributes | |
std::uint16_t | data = 0u |
Sized integer containing the float16 value. | |
Float16 is a CPU-side implementation of half-precision floating point (aka FP16).