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

◆ nn_linear_i32()

void nn_linear_i32 ( Tensor2D_I32 y,
const Tensor2D_I32 x,
const Tensor2D_I32 weight,
const Tensor1D_I32 bias 
)

Linear neural network layer.

nn_linear_i32

y[i][j] = x[i][k] * weight[j][k] + bias[j]

Parameters
yThe result tensor.
xThe input tensor.
weightThe weight tensor.
biasThe bias tensor.