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

◆ as_f16()

static float16_t as_f16 ( 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.