We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f47687c commit a6f7138Copy full SHA for a6f7138
src/tensorcontainer/tensor_container.py
@@ -245,7 +245,7 @@ def unsafe_construction(cls):
245
This context manager temporarily disables the validation that normally
246
occurs during TensorContainer construction. This is for example use in
247
TensorContainer.to() that changes the device of all children. This would
248
- lead to device validation error when we unflatten the TensorContainer.
+ lead to device validation error when we unflatten the TensorContainer.
249
As we expect the device to change, we use unsafe_construction to disable
250
validation here.
251
0 commit comments