Search is not available for this dataset
repo_id
stringlengths
12
110
file_path
stringlengths
24
164
content
stringlengths
3
89.3M
__index_level_0__
int64
0
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/detection/panoptic_qualities.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/detection/_deprecated.py
from typing import Collection from torch import Tensor from torchmetrics.functional.detection.panoptic_qualities import modified_panoptic_quality, panoptic_quality from torchmetrics.utilities.prints import _deprecated_root_import_func def _modified_panoptic_quality( preds: Tensor, target: Tensor, things...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/detection/__init__.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/wmape.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/kl_divergence.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/minkowski.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/r2.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/explained_variance.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/spearman.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/kendall.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/log_mse.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/rse.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/mse.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/cosine_similarity.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/pearson.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/symmetric_mape.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/tweedie_deviance.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/log_cosh.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/concordance.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/utils.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/mae.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/mape.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/regression/__init__.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/fleiss_kappa.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/tschuprows.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/pearson.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/cramers.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/utils.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/theils_u.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/nominal/__init__.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/precision_recall.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/f_beta.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/average_precision.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/recall_fixed_precision.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/group_fairness.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/accuracy.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/ranking.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/specificity.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/precision_fixed_recall.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/precision_recall_curve.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/auroc.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/jaccard.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/hinge.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/hamming.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/matthews_corrcoef.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/confusion_matrix.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/calibration_error.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/cohen_kappa.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/roc.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/exact_match.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/specificity_sensitivity.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/stat_scores.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/__init__.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/classification/dice.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/fowlkes_mallows_index.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/adjusted_mutual_info_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/adjusted_rand_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/mutual_info_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/rand_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/dunn_index.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/calinski_harabasz_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/homogeneity_completeness_v_measure.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/utils.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/davies_bouldin_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/__init__.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/clustering/normalized_mutual_info_score.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/ssim.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/tv.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/psnrb.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/gradients.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/vif.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/uqi.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/perceptual_path_length.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/ergas.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/helper.py
from typing import Sequence, Tuple, Union import torch from torch import Tensor from torch.nn import functional as F # noqa: N812 def _gaussian(kernel_size: int, sigma: float, dtype: torch.dtype, device: Union[torch.device, str]) -> Tensor: """Compute 1D gaussian kernel. Args: kernel_size: size of ...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/rase.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/lpips.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/rmse_sw.py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/psnr.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/_deprecated.py
from typing import Optional, Sequence, Tuple, Union from torch import Tensor from typing_extensions import Literal from torchmetrics.functional.image.d_lambda import spectral_distortion_index from torchmetrics.functional.image.ergas import error_relative_global_dimensionless_synthesis from torchmetrics.functional.ima...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/d_lambda.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/sam.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/image/__init__.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/ter.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/squad.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/eed.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/wil.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/infolm.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/sacre_bleu.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/chrf.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/helper_embedding_metric.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/wer.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/perplexity.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/helper.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/wip.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/mer.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/rouge.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/cer.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/_deprecated.py
import os from typing import Any, Callable, Dict, List, Literal, Optional, Sequence, Tuple, Union import torch from torch import Tensor from torch.nn import Module from torchmetrics.functional.text.bert import bert_score from torchmetrics.functional.text.bleu import bleu_score from torchmetrics.functional.text.cer im...
0
public_repos/torchmetrics/src/torchmetrics/functional
public_repos/torchmetrics/src/torchmetrics/functional/text/bert.py
# Copyright The Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
0