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

◆ nn_addscalar2d_i32()

void nn_addscalar2d_i32 ( Tensor2D_I32 y,
const Tensor2D_I32 x,
int32_t  scalar 
)

Adds a scalar to a 2D tensor and stores the result in y.

nn_addscalar2d_i32

y[i][j] = x[i][j] + scalar

Parameters
yThe result tensor.
xThe tensor to add the scalar to.
scalarThe scalar to add.