I wish to do a matrix multiplication where the two matrix are of different dimension and the resulting matrix has a new axis. Example
A whose dimension is (7 x 4 x 4) multiplied with B (10 x 4 x 4) gives output ( 7 x 10 x 4 x 4).
I understand here we are multiplying a full Matrix (B) with each element of A. But I am not sure how do I do this in Pytorch.