code: def test_where_scalar_scalar(
      xp, cond_shape, cond_dtype, in_types, out_dtype
  ):
      cond = _random_condition(
          cond_shape,
          cond_dtype,
          random_state=numpy.random.RandomState(seed=0),
      )
      cond = xp.array(cond)
      x_type, y_type = in_types
      x = x_type(0)
      y = y_type(2)
      out = xp.where(cond, x, y)
      return dtype_utils.cast_if_numpy_array(xp, out, out_dtype)
  
imports: import unittest
  import numpy
  import pytest
  import chainer.testing
  import chainerx
  import chainerx.testing
  from chainerx_tests import array_utils
  from chainerx_tests import dtype_utils
  from chainerx_tests import math_utils
  from chainerx_tests import op_utils
label_desc: Use image node_id 7 for calling a global function with example usage: test_where_scalar_scalar(xp, cond_shape, cond_dtype, in_types, out_dtype) and returns: dtype_utils