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

◆ nn_mulscalar1d_f32()

void nn_mulscalar1d_f32 ( Tensor1D_F32 y,
const Tensor1D_F32 x,
float  scalar 
)

Multiplies a scalar with a 1D floating-point tensor and stores the result in y.

nn_mulscalar1d_f32

y[i] = x[i] * scalar

Parameters
yThe result tensor.
xThe tensor to multiply the scalar with.
scalarThe scalar to multiply with.