Word Info. Lost¶
Module Interface¶
- torchmetrics.WordInfoLost[source]
alias of
torchmetrics.text._deprecated._WordInfoLost
Functional Interface¶
- torchmetrics.functional.word_information_lost(preds, target)[source]
Wrapper for deprecated import.
>>> preds = ["this is the prediction", "there is an other sample"] >>> target = ["this is the reference", "there is another one"] >>> _word_information_lost(preds, target) tensor(0.6528)
- Return type