4 ms·
It seems like nd4j has everything you need. Just remember, when seeing calls to the `np.dot()` function in python's numpy that it is the "dot product" operation
by oelmekki 10y ago
It seems like nd4j has everything you need. Just remember, when seeing calls to the `np.dot()` function in python's numpy that it is the "dot product" operation on matrix, which is also known as standard mathematical matrix multiplication, which in turn nd4j is calling `mmul` ("matrix multiplication", in "Linear Algebra Operations" section).
When numpy is using the * operator between two matrices, it basically just does a cell by cell multiplication
ie:
result_matrix[x][y] = matrix1[x][y] * matrix2[x][y]