Black formatting
This commit is contained in:
committed by
Nicola Demo
parent
c92193d49c
commit
def8f5a1d3
@@ -123,8 +123,8 @@ class LabelTensor(torch.Tensor):
|
|||||||
@labels.setter
|
@labels.setter
|
||||||
def labels(self, labels):
|
def labels(self, labels):
|
||||||
"""
|
"""
|
||||||
Set labels stored insider the instance by checking the type of the
|
Set labels stored insider the instance by checking the type of the
|
||||||
input labels and handling it accordingly. The following types are
|
input labels and handling it accordingly. The following types are
|
||||||
accepted:
|
accepted:
|
||||||
|
|
||||||
- **list**: The list of labels is assigned to the last dimension.
|
- **list**: The list of labels is assigned to the last dimension.
|
||||||
|
|||||||
Reference in New Issue
Block a user