Skip to content

Commit

Permalink
small change in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
liopeer committed Jan 10, 2025
1 parent 378abce commit e692963
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lightly/models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def pool_masked(
integer indices.
num_cls: The number of classes in the possible masks.
Returns:
A tensor of shape :math:`(B, C, N)` or :math:`(C, N)` where :math:`N`
corresponds to `num_cls`.
Returns:
A tensor of shape :math:`(B, C, N)` or :math:`(C, N)` where :math:`N`
corresponds to `num_cls`.
"""
if source.dim() == 3:
return _mask_reduce(source, mask, reduce, num_cls)
Expand Down

0 comments on commit e692963

Please sign in to comment.