|
Baremetal-NN
Baremetal-NN API documentation
|
| void nn_addscalar1d_f32 | ( | Tensor1D_F32 * | y, |
| const Tensor1D_F32 * | x, | ||
| float | scalar | ||
| ) |
Adds a scalar to a 1D floating-point tensor and stores the result in y.
nn_addscalar1d_f32
y[i] = x[i] + scalar
| y | The result tensor. |
| x | The tensor to add the scalar to. |
| scalar | The scalar to add. |