-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
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_sort
should 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)
BraveDistribution
Metadata
Metadata
Assignees
Labels
No labels