Skip to content

Commit a6f7138

Browse files
author
Tim Joseph
committed
style(tensorcontainer): fix typo in unsafe_construction comment
1 parent f47687c commit a6f7138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensorcontainer/tensor_container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def unsafe_construction(cls):
245245
This context manager temporarily disables the validation that normally
246246
occurs during TensorContainer construction. This is for example use in
247247
TensorContainer.to() that changes the device of all children. This would
248-
lead to device validation error when we unflatten the TensorContainer.
248+
lead to device validation error when we unflatten the TensorContainer.
249249
As we expect the device to change, we use unsafe_construction to disable
250250
validation here.
251251

0 commit comments

Comments
 (0)