Black formatting

This commit is contained in:
FilippoOlivo
2025-03-14 11:42:45 +01:00
committed by Nicola Demo
parent c92193d49c
commit def8f5a1d3

View File

@@ -123,8 +123,8 @@ class LabelTensor(torch.Tensor):
@labels.setter
def labels(self, labels):
"""
Set labels stored insider the instance by checking the type of the
input labels and handling it accordingly. The following types are
Set labels stored insider the instance by checking the type of the
input labels and handling it accordingly. The following types are
accepted:
- **list**: The list of labels is assigned to the last dimension.