formatting
This commit is contained in:
committed by
Nicola Demo
parent
2526da36bf
commit
3c301acf18
@@ -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_`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user