Skip to content

Commit

Permalink
Add safe_reduce to rax.utils for loss/metric implementations outside …
Browse files Browse the repository at this point in the history
…of rax.

PiperOrigin-RevId: 647028192
  • Loading branch information
Rax Developers committed Jun 26, 2024
1 parent 1638551 commit 3991838
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rax/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from rax._src.utils import compute_pairs
from rax._src.utils import cutoff
from rax._src.utils import ranks
from rax._src.utils import safe_reduce

__all__ = [
"approx_cutoff",
Expand All @@ -28,4 +29,5 @@
"cutoff",
"pairwise_loss",
"ranks",
"safe_reduce",
]

0 comments on commit 3991838

Please sign in to comment.