code: def load_attributes_from_hdf5_group(group, name):
      """Loads attributes of the specified name from the HDF5 group.
  
      This method deals with an inherent problem
      of HDF5 file which is not able to store
      data larger than HDF5_OBJECT_HEADER_LIMIT bytes.
  
      Args:
          group: A pointer to a HDF5 group.
          name: A name of the attributes to load.
  
      Returns:
          data: Attributes data.
      """
      if name in group.attrs:
          data = [
              n.decode("utf8") if hasattr(n, "decode") else n
              for n in group.attrs[name]
          ]
      else:
          data = []
          chunk_id = 0
          while f"{name}{chunk_id}" in group.attrs:
              data.extend(
                  [
                      n.decode("utf8") if hasattr(n, "decode") else n
                      for n in group.attrs[f"{name}{chunk_id}"]
                  ]
              )
              chunk_id += 1
      return data
  
imports: import json
  import os
  import warnings
  import numpy
  from absl import logging
  from keras import backend
  from keras import optimizers
  from keras.backend.common import global_state
  from keras.legacy.saving import json_utils
  from keras.legacy.saving import saving_options
  from keras.legacy.saving import saving_utils
  from keras.saving import object_registration
  from keras.utils import io_utils
label_desc: Use image node_id 11 for calling a global function with example usage: load_attributes_from_hdf5_group(group, name) and returns: data