Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches
◆
nn_equal_f16()
static uint8_t nn_equal_f16
(
float16_t
golden
,
float16_t
actual
,
float
rel_err
)
inline
static
Checks if two half-precision floating-point numbers are equal within a relative error.
nn_equal_f16
Parameters
golden
The expected value.
actual
The actual value.
rel_err
The relative error tolerance.
Returns
1 if the numbers are equal within the relative error, 0 otherwise.
nn
nn_f16.h
Generated by
1.9.5