Solved by Nikronic in post #2 
              
              
                Hi, 
It is a element wise multiplication which can be done using torch.mul(A, B). You just need to take care of shapes to have a proper broadcasting. 

x = torch.tensor([[1,2,3],[4,5,6],[7,8,9]])
y = torch.tensor([1,10,100])

torch.mul(x, y.view(-1, 1))

Bests