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 b397ad3 commit b0ac231Copy full SHA for b0ac231
pytorch_lightning/utilities/apply_func.py
@@ -131,7 +131,7 @@ def apply_to_collections(
131
dtype: the given function will be applied to all elements of this dtype
132
function: the function to apply
133
*args: positional arguments (will be forwarded to calls of ``function``)
134
- wrong_dtype: the given function won't be applied if this type is specified and the given collections is of
+ wrong_dtype: the given function won't be applied if this type is specified and the given collections
135
is of the ``wrong_dtype`` even if it is of type ``dtype``
136
**kwargs: keyword arguments (will be forwarded to calls of ``function``)
137
0 commit comments