class_docstr: https://arxiv.org/abs/1704.02112
code: def __init__(self, num_features, spatial_size, flatten=False):
      super().__init__()
      self.conv = nn.Conv1d(
          num_features, num_features, spatial_size, groups=num_features
      )
      self.flatten = flatten
  
imports: from typing import Union, Dict
  import torch
  import torch.nn.functional
  from torch.nn.modules.module import _IncompatibleKeys
  from torch import Tensor, nn
label_desc: Use image node_id 1 to create a new GlobalRankPooling object from inherited base classes: nn with example: obj = GlobalRankPooling(num_features, spatial_size, flatten)