def get_total_data_dim(data_dict):
    """
    :param data_dict: data dict (input_data/output_data) from config, looks like:
         'output_dims': {
            'images': {'color_space': 'lab', 'dim': 3},
            'depth_map': {'color_space': 'grayscale', 'dim': 1}
            }

    :return: num of dims for example above 3 + 1 = 4
    """
    return sum(data_type['dim'] for data_type in data_dict.values())