code: def execute(cls, ctx, op):
      tiledb_ctx = get_tiledb_ctx(op.tiledb_config)
      uri = op.tiledb_uri
      key = op.tiledb_key
      timestamp = op.tiledb_timestamp
      axis_offsets = op.axis_offsets
  
      chunk = op.outputs[0]
      if not chunk.issparse():
          # dense
          to_store = np.ascontiguousarray(ctx[op.input.key])
          slcs = []
          for axis in range(chunk.ndim):
              axis_offset = int(axis_offsets[axis])
              axis_length = int(op.input.shape[axis])
              slcs.append(slice(axis_offset, axis_offset + axis_length))
          with tiledb.DenseArray(
              uri=uri,
              ctx=tiledb_ctx,
              mode="w",
              key=key,
              timestamp=timestamp,
          ) as arr:
              arr[tuple(slcs)] = to_store
          ctx[chunk.key] = np.empty(
              (0,) * chunk.ndim, dtype=chunk.dtype
          )
      else:
          # sparse
          to_store = ctx[op.input.key].spmatrix.tocoo()
          if to_store.nnz > 0:
              with tiledb.SparseArray(
                  uri=uri,
                  ctx=tiledb_ctx,
                  mode="w",
                  key=key,
                  timestamp=timestamp,
              ) as arr:
                  if chunk.ndim == 1:
                      vec = (
                          to_store.col
                          if to_store.shape[0] == 1
                          else to_store.row
                      )
                      vec += axis_offsets[0]
                      arr[vec] = to_store.data
                  else:
                      i, j = (
                          to_store.row + axis_offsets[0],
                          to_store.col + axis_offsets[1],
                      )
                      arr[i, j] = to_store.data
          ctx[chunk.key] = SparseNDArray(
              sps.csr_matrix((0, 0), dtype=chunk.dtype),
              shape=chunk.shape,
          )
  
imports: import numpy
  from ...None import opcodes
  from ...serialization.serializables import FieldTypes, DictField, TupleField, StringField, Int64Field, KeyField
  from ...lib.sparse import SparseNDArray
  from ...lib.sparse.core import sps
  from ..datasource import tensor
  from ..operands import TensorOperandMixin, TensorOperand
  from ..utils import get_tiledb_ctx
  from .core import TensorDataStore
  from .utils import check_tiledb_array_with_tensor, get_tiledb_schema_from_tensor
label_desc: Use image node_id 10 for calling the TensorTileDBDataStore obj's underlying member method code with example usage: obj.execute(cls, ctx, op) without return types