Retrieval Fall-Out¶ Module Interface¶ torchmetrics.RetrievalFallOut[source] alias of torchmetrics.retrieval._deprecated._RetrievalFallOut Functional Interface¶ torchmetrics.functional.retrieval_fall_out(preds, target, top_k=None)[source] Wrapper for deprecated import. >>> from torch import tensor >>> preds = tensor([0.2, 0.3, 0.5]) >>> target = tensor([True, False, True]) >>> _retrieval_fall_out(preds, target, top_k=2) tensor(1.) Return type Tensor