nip.utils.data#
Utilities for working with data.
Functions
|
Update a dictionary by adding a value to a key. |
|
Return an iterator that cycles through an iterable without saving copies. |
|
Check whether an index is a nested key used in TensorDicts. |
|
Get the keys of a nested dict as a list of tuples of strings. |
|
Get the keys of a nested dict as a list of joined strings. |
|
Rename a key in a dictionary, modifying the dictionary in place. |
|
Convert a TensorDict to a dict of numpy arrays. |
|
Return an iterator that stops after a maximum length. |
Classes
|
A loader that cycles through data, but allows the batch size to vary. |