code: def process_gru_cell(self, match_result):
      if "gru_cell" not in match_result._pattern_to_op.keys():
          return
      kwargs = dict()
      top_node = match_result._pattern_to_op[
          match_result._name_to_pattern["gru_cell"]
      ]
  
      w_e = match_result.get_op("cell_kernel")
      w = self._weights_dict[w_e.name.replace("/read", "")]
  
      num_units = w.shape[1] // 2
      input_size = w.shape[0] - num_units
  
      kwargs["num_units"] = num_units
      kwargs["input_size"] = input_size
  
      if hasattr(top_node, "kwargs"):
          top_node.kwargs.update(kwargs)
      else:
          top_node.kwargs = kwargs
  
file_path: MMdnn/mmdnn/conversion/tensorflow/rewriter/gru_rewriter.py
imports: from mmdnn.conversion.rewriter.rewriter import UnitRewriterBase
  import numpy
  import re
label_desc: Use image node_id 2 for calling the GRURewriter obj's underlying member method code with example usage: obj.process_gru_cell(match_result) without return types