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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/image/mifid.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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/image/inception.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
public_repos/torchmetrics/src/torchmetrics/image/kid.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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/image/fid.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
public_repos/torchmetrics/src/torchmetrics/image/lpip.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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/image/_deprecated.py
from typing import Any, Dict, Optional, Sequence, Tuple, Union from typing_extensions import Literal from torchmetrics.image.d_lambda import SpectralDistortionIndex from torchmetrics.image.ergas import ErrorRelativeGlobalDimensionlessSynthesis from torchmetrics.image.psnr import PeakSignalNoiseRatio from torchmetrics...
0
public_repos/torchmetrics/src/torchmetrics
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics/text/_deprecated.py
from typing import Any, Literal, Optional, Sequence from torchmetrics.text.bleu import BLEUScore from torchmetrics.text.cer import CharErrorRate from torchmetrics.text.chrf import CHRFScore from torchmetrics.text.eed import ExtendedEditDistance from torchmetrics.text.mer import MatchErrorRate from torchmetrics.text.pe...
0
public_repos/torchmetrics/src/torchmetrics
public_repos/torchmetrics/src/torchmetrics/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
public_repos/torchmetrics/src/torchmetrics
public_repos/torchmetrics/src/torchmetrics/text/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
public_repos/torchmetrics/src/torchmetrics/text/__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
public_repos/torchmetrics/src/torchmetrics/text/edit.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
public_repos/torchmetrics/src/torchmetrics/wrappers/minmax.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
public_repos/torchmetrics/src/torchmetrics/wrappers/tracker.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
public_repos/torchmetrics/src/torchmetrics/wrappers/abstract.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
public_repos/torchmetrics/src/torchmetrics/wrappers/multitask.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
public_repos/torchmetrics/src/torchmetrics/wrappers/bootstrapping.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
public_repos/torchmetrics/src/torchmetrics/wrappers/classwise.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
public_repos/torchmetrics/src/torchmetrics/wrappers/running.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
public_repos/torchmetrics/src/torchmetrics/wrappers/multioutput.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
public_repos/torchmetrics/src/torchmetrics/wrappers/__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
public_repos/torchmetrics/src/torchmetrics/audio/pesq.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
public_repos/torchmetrics/src/torchmetrics/audio/pit.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
public_repos/torchmetrics/src/torchmetrics/audio/sdr.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
public_repos/torchmetrics/src/torchmetrics/audio/srmr.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
public_repos/torchmetrics/src/torchmetrics/audio/stoi.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
public_repos/torchmetrics/src/torchmetrics/audio/_deprecated.py
from typing import Any, Callable, Optional from typing_extensions import Literal from torchmetrics.audio.pit import PermutationInvariantTraining from torchmetrics.audio.sdr import ScaleInvariantSignalDistortionRatio, SignalDistortionRatio from torchmetrics.audio.snr import ScaleInvariantSignalNoiseRatio, SignalNoiseR...
0
public_repos/torchmetrics/src/torchmetrics
public_repos/torchmetrics/src/torchmetrics/audio/snr.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
public_repos/torchmetrics/src/torchmetrics/audio/__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
public_repos/torchmetrics/src/torchmetrics/retrieval/reciprocal_rank.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
public_repos/torchmetrics/src/torchmetrics/retrieval/fall_out.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
public_repos/torchmetrics/src/torchmetrics/retrieval/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
public_repos/torchmetrics/src/torchmetrics/retrieval/hit_rate.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
public_repos/torchmetrics/src/torchmetrics/retrieval/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
public_repos/torchmetrics/src/torchmetrics/retrieval/r_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
public_repos/torchmetrics/src/torchmetrics/retrieval/base.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
public_repos/torchmetrics/src/torchmetrics/retrieval/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
public_repos/torchmetrics/src/torchmetrics/retrieval/ndcg.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
public_repos/torchmetrics/src/torchmetrics/retrieval/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
public_repos/torchmetrics/src/torchmetrics/retrieval/_deprecated.py
from typing import Any, Optional from torchmetrics.retrieval.average_precision import RetrievalMAP from torchmetrics.retrieval.fall_out import RetrievalFallOut from torchmetrics.retrieval.hit_rate import RetrievalHitRate from torchmetrics.retrieval.ndcg import RetrievalNormalizedDCG from torchmetrics.retrieval.precisi...
0
public_repos/torchmetrics/src/torchmetrics
public_repos/torchmetrics/src/torchmetrics/retrieval/__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
public_repos/torchmetrics/src/torchmetrics/functional/__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/pairwise/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/pairwise/linear.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/pairwise/helpers.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/pairwise/manhattan.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/pairwise/euclidean.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/pairwise/cosine.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/pairwise/__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/detection/_panoptic_quality_common.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/giou.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/ciou.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/iou.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/diou.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