|
Baremetal-NN
Baremetal-NN API documentation
|
| 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
| y | The result tensor. |
| x | The tensor to add the scalar to. |
| scalar | The scalar to add. |