Good afternoon,
I have two tensors of shape (n x k) and (k x m). What I want is to subtract each row of tensor_2 from tensor_1, so that the new array has a shape (n x k x m). Is it possible to do automatically without repeating the tensors m and n times respectively (as they consume much memory)?
Thanks in advance!