Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches
◆
nn_equal_f32()
static uint8_t nn_equal_f32
(
float
golden
,
float
actual
,
float
rel_err
)
inline
static
Checks if two floating-point numbers are equal within a relative error.
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_f32.h
Generated by
1.9.5