Linear (fully-connected) layer: multiply weight matrix w by input vector x.
w
x
Input vector of length nin.
nin
Weight matrix of shape [nout][nin].
[nout][nin]
Output vector of length nout.
nout
Linear (fully-connected) layer: multiply weight matrix
wby input vectorx.