|
Baremetal-NN
Baremetal-NN API documentation
|
| void nn_mulscalar2d_f32 | ( | Tensor2D_F32 * | y, |
| const Tensor2D_F32 * | x, | ||
| float | scalar | ||
| ) |
Multiplies a scalar with a 2D floating-point tensor and stores the result in y.
nn_mulscalar2d_f32
y[i][j] = x[i][j] * scalar
| y | The result tensor. |
| x | The tensor to multiply the scalar with. |
| scalar | The scalar to multiply with. |