code: def check_type_forward(self, in_types):
      type_check.expect(
          in_types.size() == 1, in_types[0].dtype == numpy.float32
      )
  
file_path: chainerrl/chainerrl/functions/scale_grad.py
imports: import numpy
  import chainer
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the ScaleGrad obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types