Sorry, I should have specified, I am looking for Hadamard product. If I use xy(where x and y are sparse tensors) it works but somehow computation time increases when I use GPU. So I was wondering is there some function that I should use instead of just writing it as xy?