code: def rename_GAvgpool(self, source_node):
      attr = source_node.attrs
      input_shape = self.pytorch_graph.shape_dict[
          source_node.in_edges[0]
      ]
      kwargs = dict()
      kwargs["strides"] = [1, 1, 1, 1]
      kwargs["dilations"] = [1] + [1, 1] + [1]
      kwargs["pads"] = [0, 0, 0, 0, 0, 0, 0, 0]
      kwargs["kernel_shape"] = [1] + input_shape[2:] + [1]
      IR_node = self._convert_identity_operation(
          source_node, new_op="Pool"
      )
  
      kwargs["pooling_type"] = "AVG"
  
      assign_IRnode_values(IR_node, kwargs)
  
imports: import os
  import numpy
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
  from mmdnn.conversion.common.utils import *
  from mmdnn.conversion.common.DataStructure.parser import Parser
  from mmdnn.conversion.pytorch.pytorch_graph import PytorchGraph040
  from mmdnn.conversion.pytorch.pytorch_graph import PytorchGraph151
  import torch
  import torchvision
label_desc: Use image node_id 18 for calling the PytorchParser obj's underlying member method code with example usage: obj.rename_GAvgpool(source_node) without return types