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

◆ nn_equals0d_f16()

uint8_t nn_equals0d_f16 ( const Tensor0D_F16 a,
const Tensor0D_F16 b,
float  rel_err 
)

nn_equals0d_f16

Checks if two 0D tensors with type F16 are equal.

Parameters
aThe first 0D tensor.
bThe second 0D tensor.
rel_errThe relative error tolerance.
Returns
1 if the tensors are equal within the relative error, 0 otherwise.