code: def _run(self, condition, x, y):  # type: ignore
      if (
          x.dtype != y.dtype
          and x.dtype not in (object,)
          and x.dtype.type is not np.str_
          and y.dtype.type is not np.str_
      ):
          raise RuntimeError(
              f"x and y should share the same dtype {x.dtype} != {y.dtype}"
          )
      return (np.where(condition, x, y).astype(x.dtype),)
  
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling the Where obj's underlying member method code with example usage: obj._run(condition, x, y) and returns: np