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

◆ nn_dot_f32()

void nn_dot_f32 ( Tensor1D_F32 y,
const Tensor1D_F32 x1,
const Tensor1D_F32 x2 
)

Computes the dot product of two 1D floating-point tensors.

nn_dot_f32

y[0] = x1[0] * x2[0] + x1[1] * x2[1] + ... + x1[n-1] * x2[n-1]

Parameters
yThe result tensor.
x1The first tensor.
x2The second tensor.