code: def to_chunk_op(self, *args):
      start, stop, num, endpoint = args
      op = self.copy().reset_key()
      op._start = start
      op._stop = stop
      op._num = num
      op._endpoint = endpoint
      return op
  
file_path: mars/mars/tensor/datasource/linspace.py
imports: import numpy
  from ...None import opcodes
  from ...core import ExecutableTuple
  from ...serialization.serializables import Int64Field, BoolField, AnyField
  from ...config import options
  from ..utils import decide_chunk_sizes
  from .core import TensorNoInput
  from ..array_utils import create_array
label_desc: Use image node_id 2 for calling the TensorLinspace obj's underlying member method code with example usage: obj.to_chunk_op() and returns: op