code: def check_forward_input(self, input):
      if input.size(1) != self.input_size:
          raise RuntimeError(
              "input has inconsistent input_size: got {}, expected {}".format(
                  input.size(1), self.input_size
              )
          )
  
imports: import math
  import torch
  import warnings
  import itertools
  import numbers
  from torch import nn
  from torch.nn import Parameter
  from torch.nn.utils.rnn import PackedSequence
  from csrc.pytorch.pytorch_quantization import tensor_quant
  from csrc.pytorch.pytorch_quantization.nn._functions import quant_rnn
  from .None import _utils
label_desc: Use image node_id 2 for calling the QuantRNNCellBase obj's underlying member method code with example usage: obj.check_forward_input(input) without return types