class_docstr: Attribute type for Scipy sparse arrays. Can accept values of any type in
  ``scipy.sparse``. Arrays are serialized using the CSR format.
code: def consumes_types(
      cls,
  ) -> Tuple[Type[Union[SparseArray, SparseMatrix]], ...]:
      return (
          bsr_array,
          coo_array,
          csc_array,
          csr_array,
          dia_array,
          dok_array,
          lil_array,
          csc_matrix,
          csr_matrix,
          bsr_matrix,
          coo_matrix,
          dia_matrix,
          dok_matrix,
          lil_matrix,
      )
  
file_path: pennylane/pennylane/data/attributes/sparse_array.py
imports: from functools import lru_cache
  from typing import Dict, Generic, Tuple, Type, TypeVar, Union, cast
  import numpy
  from scipy.sparse import bsr_array, bsr_matrix, coo_array, coo_matrix, csc_array, csc_matrix, csr_array, csr_matrix, dia_array, dia_matrix, dok_array, dok_matrix, lil_array, lil_matrix
  from pennylane.data.base.attribute import AttributeInfo, DatasetAttribute
  from pennylane.data.base.hdf5 import HDF5Group
label_desc: Use image node_id 3 for calling the DatasetSparseArray obj's underlying member method code with example usage: obj.consumes_types(cls) and returns: bsr_array,  coo_array,  csc_array,  csr_array,  dia_array,  dok_array,  lil_array,  csc_matrix,  csr_matrix,  bsr_matrix,  coo_matrix,  dia_matrix,  dok_matrix,  lil_matrix