code: def tile(cls, op):
      import zarr
  
      if has_unknown_shape(*op.inputs):
          yield
      in_tensor = op.input
  
      # create dataset
      fs = get_fs(op.path, None)
      path = op.path
      if op.group is not None:
          path += "/" + op.group
      fs_map = FSMap(path, fs)
      zarr.open(
          fs_map,
          "w",
          path=op.dataset,
          dtype=in_tensor.dtype,
          shape=in_tensor.shape,
          chunks=tuple(max(ns) for ns in in_tensor.nsplits),
          **op.zarr_options.todict(),
      )
  
      cum_nsplits = [
          [0] + np.cumsum(ns).tolist() for ns in in_tensor.nsplits
      ]
      out_chunks = []
      for chunk in in_tensor.chunks:
          chunk_op = op.copy().reset_key()
          chunk_op._axis_offsets = tuple(
              cs[i] for i, cs in zip(chunk.index, cum_nsplits)
          )
          out_chunks.append(
              chunk_op.new_chunk(
                  [chunk], shape=(0,) * chunk.ndim, index=chunk.index
              )
          )
  
      new_op = op.copy()
      out = op.outputs[0]
      nsplits = tuple((0,) * len(ns) for ns in in_tensor.nsplits)
      return new_op.new_tensors(
          op.inputs,
          shape=out.shape,
          order=out.order,
          nsplits=nsplits,
          chunks=out_chunks,
      )
  
imports: import pickle
  from typing import Dict
  import numpy
  from ...None import opcodes
  from ...serialization.serializables import FieldTypes, KeyField, StringField, BytesField, TupleField
  from ...lib.filesystem import get_fs, FSMap
  from ...utils import has_unknown_shape
  from .core import TensorDataStore
label_desc: Use image node_id 8 for calling the TensorToZarrDataStore obj's underlying member method code with example usage: obj.tile(cls, op) and returns: new_op