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

◆ nn_add2d_f32()

void nn_add2d_f32 ( Tensor2D_F32 y,
const Tensor2D_F32 x1,
const Tensor2D_F32 x2 
)

nn_add2d_f32

Adds x1 and x2 element-wise and stores the result in y.

y[i][j] = x1[i][j] + x2[i][j]

Parameters
yThe result tensor.
x1The first tensor.
x2The second tensor.