dict_util
- aitoolbox.utils.dict_util.combine_prediction_metadata_batches(metadata_list)[source]
- Combines a list of dicts with the same keys and [lists or torch.Tensors or np.arrays] as values into
a single dict with concatenated [lists or torch.Tensors or np.arrays] for each corresponding key
- aitoolbox.utils.dict_util.flatten_dict(nested_dict, parent_key='', sep='_')[source]
Flatten the nested dict of dicts of …