Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches

◆ NN_float_to_half()

static float16_t NN_float_to_half ( float  f)
inlinestatic

Converts a single-precision floating-point number to a half-precision floating-point number.

Parameters
fThe single-precision floating-point number to convert.
Returns
The half-precision floating-point number.