General Utilities#
PyTorch Utilities#
We provide general, PyTorch-centric utilities that help to reduce boilerplate code and to ensure correctness when using the rAI-toolbox.
|
Returns a view of |
|
A context manager / decorator that temporarily places one or more modules in eval mode during the context. |
|
'Freezes' collections of tensors by setting |
|
A context manager/decorator for 'freezing' collections of tensors; i.e. |
|
A wrapper that negates (applies the |