Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 9, 2024
1 parent fcac15a commit f9e15d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tensordict/tensorclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -3484,7 +3484,9 @@ def data(self):
self.tensordicts, raise_if_non_unique=True
).data
except ValueError:
raise AttributeError("Cannot get the non-unique data of a NonTensorStack. Use .tolist() instead.")
raise AttributeError(
"Cannot get the non-unique data of a NonTensorStack. Use .tolist() instead."
)


_register_tensor_class(NonTensorStack)
Expand Down

0 comments on commit f9e15d4

Please sign in to comment.