noether.data.base.wrappers.timing¶
Attributes¶
Classes¶
Wrapper that times __getitem__ calls and returns both the item and the time taken. |
Module Contents¶
- noether.data.base.wrappers.timing.META_GETITEM_TIME = '__meta_time_getitem'¶
- class noether.data.base.wrappers.timing.TimingWrapper(dataset)¶
Bases:
noether.data.base.DatasetWrapperWrapper that times __getitem__ calls and returns both the item and the time taken.
- Parameters:
dataset (noether.data.base.Dataset | noether.data.base.DatasetWrapper) – The dataset to wrap