code: def mars_sparse_matrix_builder(client, value, builder, **kw):
      meta = vineyard.ObjectMeta()
      meta["typename"] = "vineyard::SparseMatrix<%s>" % value.dtype.name
      meta["shape_"] = vy_data_utils.to_json(value.shape)
      meta.add_member(
          "spmatrix", builder.run(client, value.spmatrix, **kw)
      )
      return client.create_metadata(meta)
  
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 1 for calling a global function with example usage: mars_sparse_matrix_builder(client, value, builder) and returns: client