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