Skip to content

Commit c9ab282

Browse files
committed
update docstring of ot.gromov.init_matrix
1 parent 982c4a7 commit c9ab282

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ot/gromov.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ def init_matrix(C1, C2, p, q, loss_fun='square_loss'):
7070
Metric cost matrix in the source space
7171
C2 : array-like, shape (nt, nt)
7272
Metric cost matrix in the target space
73-
T : array-like, shape (ns, nt)
74-
Coupling between source and target spaces
7573
p : array-like, shape (ns,)
74+
Probability distribution in the source space
75+
q : array-like, shape (nt,)
76+
Probability distribution in the target space
77+
loss_fun : str, optional
78+
Name of loss function to use: either 'square_loss' or 'kl_loss' (default='square_loss')
7679
7780
Returns
7881
-------

0 commit comments

Comments
 (0)