code: def set_imag(val, imag):
      op = TensorSetImag(dtype=val.dtype)
      return op(val, imag)
  
file_path: mars/mars/tensor/arithmetic/setimag.py
imports: from ...None import opcodes
  from ..array_utils import as_same_device, device
  from .core import TensorBinOp
  from .utils import arithmetic_operand
label_desc: Use image node_id 1 for calling a global function with example usage: set_imag(val, imag) and returns: op