Skip to content

Commit

Permalink
Literal
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Stancl <[email protected]>
  • Loading branch information
Borda and stancld authored Dec 22, 2023
1 parent 0546c9a commit ef7da19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchmetrics/retrieval/auroc.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class RetrievalAUROC(RetrievalMetric):

def __init__(
self,
empty_target_action: str = "neg",
empty_target_action: Literal["error", "skip", "neg", "pos"] = "neg",
ignore_index: Optional[int] = None,
top_k: Optional[int] = None,
max_fpr: Optional[float] = None,
Expand Down

0 comments on commit ef7da19

Please sign in to comment.