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

◆ nn_equals4d_f32()

uint8_t nn_equals4d_f32 ( const Tensor4D_F32 a,
const Tensor4D_F32 b,
float  rel_err 
)

Checks if two 4D floating-point tensors are equal.

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