formatting

This commit is contained in:
Dario Coscia
2025-03-17 12:25:04 +01:00
committed by Nicola Demo
parent 2526da36bf
commit 3c301acf18
8 changed files with 28 additions and 28 deletions

View File

@@ -389,7 +389,7 @@ class LabelTensor(torch.Tensor):
def requires_grad_(self, mode=True):
"""
Override the :meth:`~torch.Tensor.requires_grad_` method to handle
Override the :meth:`~torch.Tensor.requires_grad_` method to handle
the labels in the new tensor.
For more details, see :meth:`~torch.Tensor.requires_grad_`.