class_docstr: Write datapoints to a HDF5 file.
  
  Note that HDF5 files are in fact not very performant and currently do not support lazy loading.
  It's better to use :class:`LMDBSerializer`.
class_docstr_tok: ["Write","datapoints","to","a","HDF5","file",".","Note","that","HDF5","files","are","in","fact","not","very","performant","and","currently","do","not","support","lazy","loading",".","It","'s","better","to","use",":","class",":","`","LMDBSerializer","`","."]
docstr: Args:
      data_paths (list): list of h5 paths to be zipped.
docstr_tok: ["Args",":","data_paths","(","list",")",":","list","of","h5","paths","to","be","zipped","."]
code: def load(path, data_paths, shuffle=True):
      """
      Args:
          data_paths (list): list of h5 paths to be zipped.
      """
      return HDF5Data(path, data_paths, shuffle)
  
imports: import numpy
  import os
  import platform
  from collections import defaultdict
  from ..utils import logger
  from ..utils.serialize import dumps, loads
  from ..utils.develop import create_dummy_class
  from ..utils.utils import get_tqdm
  from .base import DataFlow
  from .common import FixedSizeData, MapData
  from .format import HDF5Data, LMDBData, DiskCacheData
  from .raw import DataFromGenerator, DataFromList
label_desc: Use image node_id 2 for calling the HDF5Serializer obj's underlying member method code with example usage: obj.load(path, data_paths, shuffle) and returns: HDF5Data