diff --git a/torcheval/metrics/aggregation/auc.py b/torcheval/metrics/aggregation/auc.py index 5d86358d..bcf707d6 100644 --- a/torcheval/metrics/aggregation/auc.py +++ b/torcheval/metrics/aggregation/auc.py @@ -12,7 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.aggregation.auc`. from torcheval.metrics.functional.aggregation.auc import ( _auc_compute, _auc_update_input_check, diff --git a/torcheval/metrics/aggregation/mean.py b/torcheval/metrics/aggregation/mean.py index 020828bf..ab297ff4 100644 --- a/torcheval/metrics/aggregation/mean.py +++ b/torcheval/metrics/aggregation/mean.py @@ -13,7 +13,6 @@ import torch -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.aggregation.mean`. from torcheval.metrics.functional.aggregation.mean import _mean_update from torcheval.metrics.metric import Metric diff --git a/torcheval/metrics/aggregation/sum.py b/torcheval/metrics/aggregation/sum.py index a3fd9c87..f2559941 100644 --- a/torcheval/metrics/aggregation/sum.py +++ b/torcheval/metrics/aggregation/sum.py @@ -12,7 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.aggregation.sum`. from torcheval.metrics.functional.aggregation.sum import _sum_update from torcheval.metrics.metric import Metric diff --git a/torcheval/metrics/classification/binary_normalized_entropy.py b/torcheval/metrics/classification/binary_normalized_entropy.py index 68f5dffa..b9a04848 100644 --- a/torcheval/metrics/classification/binary_normalized_entropy.py +++ b/torcheval/metrics/classification/binary_normalized_entropy.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.classification.binary_normalized_entropy`. from torcheval.metrics.functional.classification.binary_normalized_entropy import ( _baseline_update, _binary_normalized_entropy_update, diff --git a/torcheval/metrics/functional/aggregation/__init__.py b/torcheval/metrics/functional/aggregation/__init__.py index c3242387..bcb769df 100644 --- a/torcheval/metrics/functional/aggregation/__init__.py +++ b/torcheval/metrics/functional/aggregation/__init__.py @@ -6,17 +6,12 @@ # pyre-strict -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.aggregation.auc`. from torcheval.metrics.functional.aggregation.auc import auc -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.aggregation.mean`. from torcheval.metrics.functional.aggregation.mean import mean -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.aggregation.sum`. from torcheval.metrics.functional.aggregation.sum import sum -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.aggregation.throughput`. from torcheval.metrics.functional.aggregation.throughput import throughput diff --git a/torcheval/metrics/functional/classification/__init__.py b/torcheval/metrics/functional/classification/__init__.py index e45ab10a..0d2825e4 100644 --- a/torcheval/metrics/functional/classification/__init__.py +++ b/torcheval/metrics/functional/classification/__init__.py @@ -23,8 +23,6 @@ multiclass_auroc, ) -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.classification.binary_normalized_entropy`. from torcheval.metrics.functional.classification.binary_normalized_entropy import ( binary_normalized_entropy, ) diff --git a/torcheval/metrics/functional/ranking/__init__.py b/torcheval/metrics/functional/ranking/__init__.py index dd1b0a78..e1435987 100644 --- a/torcheval/metrics/functional/ranking/__init__.py +++ b/torcheval/metrics/functional/ranking/__init__.py @@ -6,32 +6,19 @@ # pyre-strict -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.click_through_rate`. from torcheval.metrics.functional.ranking.click_through_rate import click_through_rate from torcheval.metrics.functional.ranking.frequency import frequency_at_k -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.ranking.hit_rate`. from torcheval.metrics.functional.ranking.hit_rate import hit_rate -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.num_collisions`. from torcheval.metrics.functional.ranking.num_collisions import num_collisions -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.reciprocal_rank`. from torcheval.metrics.functional.ranking.reciprocal_rank import reciprocal_rank -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.retrieval_precision`. from torcheval.metrics.functional.ranking.retrieval_precision import retrieval_precision -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.retrieval_recall`. from torcheval.metrics.functional.ranking.retrieval_recall import retrieval_recall -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.weighted_calibration`. from torcheval.metrics.functional.ranking.weighted_calibration import ( weighted_calibration, ) diff --git a/torcheval/metrics/functional/regression/__init__.py b/torcheval/metrics/functional/regression/__init__.py index 24462819..435c522e 100644 --- a/torcheval/metrics/functional/regression/__init__.py +++ b/torcheval/metrics/functional/regression/__init__.py @@ -8,14 +8,10 @@ # pyre-ignore-all-errors[16]: Undefined attribute of metric states. -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.regression.mean_squared_error`. from torcheval.metrics.functional.regression.mean_squared_error import ( mean_squared_error, ) -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.regression.r2_score`. from torcheval.metrics.functional.regression.r2_score import r2_score __all__ = ["mean_squared_error", "r2_score"] diff --git a/torcheval/metrics/functional/text/__init__.py b/torcheval/metrics/functional/text/__init__.py index ab96f97e..d616de88 100644 --- a/torcheval/metrics/functional/text/__init__.py +++ b/torcheval/metrics/functional/text/__init__.py @@ -8,21 +8,14 @@ from torcheval.metrics.functional.text.bleu import bleu_score -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.text.perplexity`. from torcheval.metrics.functional.text.perplexity import perplexity -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.text.word_error_rate`. from torcheval.metrics.functional.text.word_error_rate import word_error_rate -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.text.word_information_lost`. from torcheval.metrics.functional.text.word_information_lost import ( word_information_lost, ) -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.text.word_information_preserved`. from torcheval.metrics.functional.text.word_information_preserved import ( word_information_preserved, ) diff --git a/torcheval/metrics/ranking/click_through_rate.py b/torcheval/metrics/ranking/click_through_rate.py index 59418c15..bac015a8 100644 --- a/torcheval/metrics/ranking/click_through_rate.py +++ b/torcheval/metrics/ranking/click_through_rate.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.click_through_rate`. from torcheval.metrics.functional.ranking.click_through_rate import ( _click_through_rate_compute, _click_through_rate_update, diff --git a/torcheval/metrics/ranking/retrieval_precision.py b/torcheval/metrics/ranking/retrieval_precision.py index e129a6e5..349346d8 100644 --- a/torcheval/metrics/ranking/retrieval_precision.py +++ b/torcheval/metrics/ranking/retrieval_precision.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.retrieval_precision`. from torcheval.metrics.functional.ranking.retrieval_precision import ( _retrieval_precision_param_check, _retrieval_precision_update_input_check, diff --git a/torcheval/metrics/ranking/retrieval_recall.py b/torcheval/metrics/ranking/retrieval_recall.py index ced45b52..e2fefcc2 100644 --- a/torcheval/metrics/ranking/retrieval_recall.py +++ b/torcheval/metrics/ranking/retrieval_recall.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.retrieval_recall`. from torcheval.metrics.functional.ranking.retrieval_recall import ( _retrieval_recall_param_check, _retrieval_recall_update_input_check, diff --git a/torcheval/metrics/ranking/weighted_calibration.py b/torcheval/metrics/ranking/weighted_calibration.py index 0051608b..d19e43e3 100644 --- a/torcheval/metrics/ranking/weighted_calibration.py +++ b/torcheval/metrics/ranking/weighted_calibration.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.weighted_calibration`. from torcheval.metrics.functional.ranking.weighted_calibration import ( _weighted_calibration_update, ) diff --git a/torcheval/metrics/regression/mean_squared_error.py b/torcheval/metrics/regression/mean_squared_error.py index 79ff23d2..4b767173 100644 --- a/torcheval/metrics/regression/mean_squared_error.py +++ b/torcheval/metrics/regression/mean_squared_error.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.regression.mean_squared_error`. from torcheval.metrics.functional.regression.mean_squared_error import ( _mean_squared_error_compute, _mean_squared_error_param_check, diff --git a/torcheval/metrics/regression/r2_score.py b/torcheval/metrics/regression/r2_score.py index 743e786e..2abe61ad 100644 --- a/torcheval/metrics/regression/r2_score.py +++ b/torcheval/metrics/regression/r2_score.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.regression.r2_score`. from torcheval.metrics.functional.regression.r2_score import ( _r2_score_compute, _r2_score_param_check, diff --git a/torcheval/metrics/text/perplexity.py b/torcheval/metrics/text/perplexity.py index 27c4e608..340fdf6e 100644 --- a/torcheval/metrics/text/perplexity.py +++ b/torcheval/metrics/text/perplexity.py @@ -12,7 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module `torcheval.metrics.functional.text.perplexity`. from torcheval.metrics.functional.text.perplexity import ( _perplexity_compute, _perplexity_update, diff --git a/torcheval/metrics/text/word_error_rate.py b/torcheval/metrics/text/word_error_rate.py index 4f323401..ede3dc5d 100644 --- a/torcheval/metrics/text/word_error_rate.py +++ b/torcheval/metrics/text/word_error_rate.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.text.word_error_rate`. from torcheval.metrics.functional.text.word_error_rate import ( _word_error_rate_compute, _word_error_rate_update, diff --git a/torcheval/metrics/text/word_information_lost.py b/torcheval/metrics/text/word_information_lost.py index 56756ffc..743a4437 100644 --- a/torcheval/metrics/text/word_information_lost.py +++ b/torcheval/metrics/text/word_information_lost.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.text.word_information_lost`. from torcheval.metrics.functional.text.word_information_lost import ( _wil_compute, _wil_update, diff --git a/torcheval/metrics/text/word_information_preserved.py b/torcheval/metrics/text/word_information_preserved.py index 255a0a93..103ffcd2 100644 --- a/torcheval/metrics/text/word_information_preserved.py +++ b/torcheval/metrics/text/word_information_preserved.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.text.word_information_preserved`. from torcheval.metrics.functional.text.word_information_preserved import ( _word_information_preserved_compute, _word_information_preserved_update, diff --git a/torcheval/metrics/window/click_through_rate.py b/torcheval/metrics/window/click_through_rate.py index 036d1a75..9e8a7e1d 100644 --- a/torcheval/metrics/window/click_through_rate.py +++ b/torcheval/metrics/window/click_through_rate.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.click_through_rate`. from torcheval.metrics.functional.ranking.click_through_rate import ( _click_through_rate_compute, _click_through_rate_update, diff --git a/torcheval/metrics/window/mean_squared_error.py b/torcheval/metrics/window/mean_squared_error.py index 4feb7740..cc57b4e2 100644 --- a/torcheval/metrics/window/mean_squared_error.py +++ b/torcheval/metrics/window/mean_squared_error.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.regression.mean_squared_error`. from torcheval.metrics.functional.regression.mean_squared_error import ( _mean_squared_error_compute, _mean_squared_error_param_check, diff --git a/torcheval/metrics/window/normalized_entropy.py b/torcheval/metrics/window/normalized_entropy.py index 7425a661..a536135c 100644 --- a/torcheval/metrics/window/normalized_entropy.py +++ b/torcheval/metrics/window/normalized_entropy.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.classification.binary_normalized_entropy`. from torcheval.metrics.functional.classification.binary_normalized_entropy import ( _baseline_update, _binary_normalized_entropy_update, diff --git a/torcheval/metrics/window/weighted_calibration.py b/torcheval/metrics/window/weighted_calibration.py index 4dba0d33..15b91770 100644 --- a/torcheval/metrics/window/weighted_calibration.py +++ b/torcheval/metrics/window/weighted_calibration.py @@ -12,8 +12,6 @@ import torch -# pyre-fixme[21]: Could not find module -# `torcheval.metrics.functional.ranking.weighted_calibration`. from torcheval.metrics.functional.ranking.weighted_calibration import ( _weighted_calibration_update, )