Decode one hot encoded data.
y (np.array, torch.tensor) – labels (encoded)
labels (decoded)
new_y (np.array, torch.tensor)