code: def shape_global_pooling(node):
      input_shape = node.get_only_parent()[0].output_shape
      params = node.kernel_parameters
      has_c_o = hasattr(params, "num_output")
      c = params.num_output if has_c_o else input_shape.channels
      return TensorShape(input_shape.batch_size, c, 1, 1)
  
file_path: MMdnn/mmdnn/conversion/caffe/shape.py
imports: from collections import namedtuple
  import math
label_desc: Use image node_id 16 for calling a global function with example usage: shape_global_pooling(node) and returns: TensorShape