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

◆ nn_addscalar1d_i32()

void nn_addscalar1d_i32 ( Tensor1D_I32 y,
const Tensor1D_I32 x,
int32_t  scalar 
)

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

nn_addscalar1d_i32

y[i] = x[i] + scalar

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