Skip to content

Commit 535cef3

Browse files
committed
Fix docstring warning
1 parent a968768 commit 535cef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cebra/distributions/multisession.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,13 +505,13 @@ def sample_all_sessions(self, ref_idx: torch.Tensor,
505505
session_id: int) -> torch.Tensor:
506506
"""Sample sessions based on a reference session.
507507
508-
Reference samples for the ``session_id``th session were first sampled uniformly, as in
508+
Reference samples for the ``session_id`` th session were first sampled uniformly, as in
509509
the py:class:`~.MultisessionSampler`. Then, reference samples for the other sessions
510510
are sampled so that they are as close as the corresponding auxiliary variables in
511511
the reference session.
512512
513513
Note: similar to ``sample_condiditonal`` but at the level of the sessions, sampling ref idx in each
514-
session so that they are close to the ref idx in the reference session (``session_id``th session).
514+
session so that they are close to the ref idx in the reference session (``session_id`` th session).
515515
516516
Args:
517517
ref_idx: Uniformly sampled ``idx`` for the reference session, ``(num_samples, )``, values

0 commit comments

Comments
 (0)