code: def where(cond, x, y):
      cond, x, y = [
          SparseMatrix(i) if issparse(i) else i for i in (cond, x, y)
      ]
      return cond * x + (cond * (-y) + y)
  
imports: import numpy
  from collections.abc import Iterable
  from typing import List
  from .core import issparse, get_array_module, cp, cps, get_sparse_module, naked, sps, splinalg
  from .array import SparseNDArray, SparseArray
label_desc: Use image node_id 6 for calling a global function with example usage: where(cond, x, y) and returns: unknown