element-wise multiplication of A and B.T

Call signature
('ij,ji->ij', A, B)
NumPy equivalent
A * B.T