Skip to content

Commit 0dba5fc

Browse files
authored
Update deprecation note
1 parent 6c2d559 commit 0dba5fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cebra/data/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,8 @@ def get_indices(self):
288288
289289
290290
Note:
291-
From version 0.7.0 onwards, `num_negatives` parameter was added to allow
292-
specifying a different number of negative samples compared to the batch size.
291+
From version 0.7.0 onwards, specifying the ``num_samples`` and
292+
``num_negatives`` directly was deprecated. Please set these
293+
variables via the attributes ``batch_size`` and ``num_negatives``.
293294
"""
294295
raise NotImplementedError()

0 commit comments

Comments
 (0)