|
Baremetal-NN
Baremetal-NN API documentation
|
| void nn_dot_i32 | ( | Tensor1D_I32 * | y, |
| const Tensor1D_I32 * | x1, | ||
| const Tensor1D_I32 * | x2 | ||
| ) |
Computes the dot product of two 1D tensors and stores the result in y.
nn_dot_i32
y[0] = x1[0] * x2[0] + x1[1] * x2[1] + ... + x1[n-1] * x2[n-1]
| y | The result tensor. |
| x1 | The first tensor. |
| x2 | The second tensor. |