You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
Hi,
First at all, thanks a lot for sharing the implementation of your beautiful algo !
As soon I heard of it, I wanted to try it out by copy-pasting the example on your github mainpage.
I suspect that the "PyTorch Example" section in your main markdown has 2 minor typos:
>>> from pytorch_ops import soft_rank, soft_sortshould be replaced by
>>> from fast_soft_sort.pytorch_ops import soft_rank, soft_sort>>> values = fast_soft_sort.torch.tensor([[5., 1., 2.], [2., 1., 5.]], dtype=torch.float64)should be replaced by>>> values = torch.tensor([[5., 1., 2.], [2., 1., 5.]], dtype=torch.float64)