Please help numpy.dot with the numpy.dot function. As it is not very clear description in the documentation. Does this feature work the same way as described in this article?
There is the following code:
Nj = 100 Nin = 100 Xin = np.zeros((Nin,1)) Winj = np.zeros((Nin,Nj)) WinjT = np.transpose(Winj) Uj = np.dot(WinjT,Xin) The idea is to get an array Uj with the number of rows Nj and 1 column, but it turns out a two-dimensional array. The part of the code going after the initialization is forgiven, since it has nothing to do with the question.