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

◆ nn_equals2d_f16()

uint8_t nn_equals2d_f16 ( const Tensor2D_F16 a,
const Tensor2D_F16 b,
float  rel_err 
)

nn_equals2d_f16

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

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