code: def __init__(
      self,
      start=None,
      stop=None,
      num=None,
      endpoint=None,
      dtype=None,
      **kw,
  ):
      dtype = np.dtype(
          np.linspace(0, 1, 1).dtype if dtype is None else dtype
      )
      super().__init__(
          _start=start,
          _stop=stop,
          _num=num,
          _endpoint=endpoint,
          dtype=dtype,
          **kw,
      )
  
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 1 to create a new TensorLinspace object from inherited base classes: TensorNoInput with example: obj = TensorLinspace(start, stop, num, endpoint, dtype)