class_docstr: Choose elements depending on condition.
code: def check_type_forward(self, in_types):
      type_check._argname(in_types, ("x", "y"))
      x_type, y_type = in_types
      condition = type_check._make_variable_from_array(
          # allow scalar `condition`
          chainer.utils.force_array(self.condition),
          "condition",
      )
  
      type_check.expect(
          condition.dtype == numpy.bool_,
          x_type.dtype == y_type.dtype,
      )
      type_check.expect_broadcast_shapes(
          condition.shape, x_type.shape, y_type.shape
      )
  
file_path: chainer/chainer/functions/array/where.py
imports: import numpy
  import chainer
  from chainer import backend
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the Where obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types