fix docstring

This commit is contained in:
olasaadi 2022-07-20 18:39:53 +03:00
parent c2c7a01078
commit 65388da605

View file

@ -302,7 +302,7 @@ class PyTorchClassifier(PyTorchModel):
"""
Score the model using test data.
:param test_data: Test data.
:type train_data: `Dataset`
:type test_data: `Dataset`
:return: the score as float (between 0 and 1)
"""
y = check_and_transform_label_format(test_data.get_labels(), self._art_model.nb_classes)