Assuming you have two dimensions, you could use
u.unsqueeze(2)*v.unsqueeze(1)
(with latest master) or with explicit expansion for torch <= 0.1.12
b = u.size(0)
m = u.size(1)
n = v.size(1)
u.unsqueeze(2).expand(b,m,n)*v.unsqueeze(1).expand(b,m,n)

Best regards
Thomas