code: def _check_input_values(x, t, ignore_label):
      # Extract the raw ndarray as Variable.__ge__ is not implemented.
      # We assume that t is already an ndarray.
      if isinstance(x, variable.Variable):
          x = x.data
  
      if not (
          ((0 <= t) & (t < x.shape[1])) | (t == ignore_label)
      ).all():
          msg = (
              "Each label `t` need to satisfy "
              "`0 <= t < x.shape[1] or t == %d`" % ignore_label
          )
          raise ValueError(msg)
  
imports: import numpy
  import six
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  from chainer.functions.activation import log_softmax
  from chainer.utils import type_check
  from chainer import variable
  import chainerx
label_desc: Use image node_id 4 for calling a global function with example usage: _check_input_values(x, t, ignore_label) without return types