code: def check_type_forward(self, in_types):
      type_check._argname(in_types, ("x", "beta"))
      x_type, beta_type = in_types
      type_check.expect(
          x_type.dtype.kind == "f",
          beta_type.dtype == x_type.dtype,
          beta_type.ndim <= x_type.ndim - 1,
          beta_type.shape
          == x_type.shape[1 : 1 + type_check.eval(beta_type.ndim)],
      )
  
imports: import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import function_node
  from chainer import utils
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling the Swish obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types