code: def mars_sparse_matrix_resolver(
      obj, resolver
  ) -> sparse.SparseNDArray:
      meta = obj.meta
      shape = vy_data_utils.from_json(meta["shape_"])
      spmatrix = resolver.run(obj.member("spmatrix"))
      return sparse.matrix.SparseMatrix(spmatrix, shape=shape)
  
imports: import asyncio
  from io import UnsupportedOperation
  import logging
  import sys
  from typing import Dict, List, Optional, Tuple
  from ..lib import sparse
  from ..resource import virtual_memory
  from ..utils import implements, lazy_import, calc_size_by_str
  from .base import StorageBackend, StorageLevel, ObjectInfo, register_storage_backend
  from .core import BufferWrappedFileObject, StorageFileObject
label_desc: Use image node_id 2 for calling a global function with example usage: mars_sparse_matrix_resolver(obj, resolver) and returns: sparse