Skip to content

Commit

Permalink
Update soft_sort.py
Browse files Browse the repository at this point in the history
remove reference to normalized ranks
  • Loading branch information
marcocuturi authored Jul 20, 2023
1 parent 79050b1 commit 5ab76b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ott/tools/soft_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def ranks(
amount of mass shipped to targets.
num_targets: If ``target_weights` is ``None``, ``num_targets`` is
considered to define the number of targets used to rank inputs. Each
normalized rank in the output will be a convex combination of
``{1, .., num_targets}/num_targets``. The weight of each of these points
rank in the output will be a convex combination of
``{1, .., num_targets}``. The weight of each of these points
is assumed to be uniform. If neither ``num_targets`` nor
``target_weights`` are specified, ``num_targets`` defaults to the size
of the slices of the input that are sorted, i.e. ``inputs.shape[axis]``.
Expand Down

0 comments on commit 5ab76b0

Please sign in to comment.