code: def pool(self, op_list):
      for op in op_list:
          if op.node.op == "Transpose":
              self._remove_node(op)
          elif op.node.op == "PadV2" or op.node.op == "Pad":
              paddings = self._run_tensor(op.node.input[1])[0]
              if any(paddings.flatten().tolist()):
                  paddings[[1, 2, 3]] = paddings[[2, 3, 1]]
                  self._create_const_node(op.node.input[1], [paddings])
              else:
                  self._remove_node(op)
      return op_list[-2]
  
imports: import numpy
  import tensorflow.compat.v1
  from tensorflow.core.framework.tensor_pb2 import TensorProto
  from tensorflow.core.framework.tensor_shape_pb2 import TensorShapeProto
label_desc: Use image node_id 22 for calling the RefineGraph obj's underlying member method code with example usage: obj.pool(op_list) and returns: op_list