class_docstr: Type for tuples.
class_docstr_tok: ["Type","for","tuples","."]
code: def value_to_hdf5(
      self, bind_parent: HDF5Group, key: str, value: typing.Tuple[T]
  ) -> HDF5Group:
      grp = bind_parent.create_group(key)
  
      mapper = AttributeTypeMapper(grp)
      for i, elem in enumerate(value):
          mapper[str(i)] = elem
  
      return grp
  
file_path: pennylane/pennylane/data/attributes/tuple.py
imports: import typing
  from typing import Generic
  from pennylane.data.base.attribute import DatasetAttribute
  from pennylane.data.base.hdf5 import HDF5Group
  from pennylane.data.base.mapper import AttributeTypeMapper
  from pennylane.data.base.typing_util import T
label_desc: Use image node_id 3 for calling the DatasetTuple obj's underlying member method code with example usage: obj.value_to_hdf5(bind_parent, key, value) and returns: grp