code: def execute(cls, ctx, op):
      (cond, x, y), device_id, xp = as_same_device(
          [ctx[c.key] for c in op.inputs],
          device=op.device,
          ret_extra=True,
      )
  
      with device(device_id):
          ctx[op.outputs[0].key] = xp.where(cond, x, y)
  
imports: import itertools
  import numpy
  from ...None import opcodes
  from ...serialization.serializables import KeyField
  from ...utils import has_unknown_shape
  from ..utils import broadcast_shape, unify_chunks
  from ..array_utils import as_same_device, device
  from ..core import TENSOR_TYPE
  from ..operands import TensorOperand, TensorOperandMixin
  from ..datasource import tensor
  from .broadcast_to import broadcast_to
label_desc: Use image node_id 7 for calling the TensorWhere obj's underlying member method code with example usage: obj.execute(cls, ctx, op) without return types