Weirdly enought. It causes : "Unable to get repr for <class 'torch.Tensor'>"
Is there a way to do this action on a specific dimension individually?
e.g. if x=[6,3,10,10] we do it individually on each [3,10,10]