class_docstr: Attribute type for Scipy sparse arrays. Can accept values of any type in
  ``scipy.sparse``. Arrays are serialized using the CSR format.
docstr: Returns the class of sparse array that will be returned by the ``get_value()``
  method.
docstr_tok: ["Returns","the","class","of","sparse","array","that","will","be","returned","by","the","``","get_value","(",")","``","method","."]
code: def sparse_array_class(self) -> Type[SparseT]:
      """Returns the class of sparse array that will be returned by the ``get_value()``
      method."""
      return cast(
          Type[SparseT],
          self._supported_sparse_dict()[
              self.info["sparse_array_class"]
          ],
      )
  
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 2 for calling the DatasetSparseArray obj's underlying member method code with example usage: obj.sparse_array_class() and returns: cast