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

◆ nn_equals1d_f32()

uint8_t nn_equals1d_f32 ( const Tensor1D_F32 a,
const Tensor1D_F32 b,
float  rel_err 
)

nn_equals1d_f32

Checks if two 1D tensors with type F32 are equal.

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