Fix label_tensor.py doc (#543)
This commit is contained in:
committed by
FilippoOlivo
parent
1bb3c125ac
commit
bcac3a386b
@@ -58,7 +58,7 @@ class LabelTensor(torch.Tensor):
|
||||
>>> from pina import LabelTensor
|
||||
>>> tensor = LabelTensor(
|
||||
>>> torch.rand((2000, 3)),
|
||||
... {1: {"name": "space", "dof": ['a', 'b', 'c'])
|
||||
... {1: {"name": "space", "dof": ['a', 'b', 'c']}})
|
||||
>>> tensor = LabelTensor(
|
||||
>>> torch.rand((2000, 3)),
|
||||
... ["a", "b", "c"])
|
||||
|
||||
Reference in New Issue
Block a user