code: def execute(cls, ctx, op):
      device = op.device or 0
      ctx[op.outputs[0].key] = move_to_device(ctx[op.input.key], device)
  
file_path: mars/mars/tensor/base/to_gpu.py
imports: from ...None import opcodes
  from ..array_utils import move_to_device
  from ..datasource import tensor
  from .core import TensorDeviceConversionBase
label_desc: Use image node_id 2 for calling the TensorToGPU obj's underlying member method code with example usage: obj.execute(cls, ctx, op) without return types