code: def global_avgpooling(attrs, inputs, proto_obj):
      
      new_attrs = translation_utils._add_extra_attributes(attrs, {'global_pool': True,
                                                                  'kernel': (1, 1),
                                                                  'pool_type': 'avg'})
      return 'Pooling', new_attrs, inputs
docs: Performs avg pooling on the input.