function globalMaxPooling2d(args) {
	  return new GlobalMaxPooling2D(args);
	}
Global max pooling operation for spatial data.

Input shape:
  - If `dataFormat` is `CHANNEL_LAST`:
      4D tensor with shape: `[batchSize, rows, cols, channels]`.
  - If `dataFormat` is `CHANNEL_FIRST`:
      4D tensor with shape: `[batchSize, channels, rows, cols]`.

Output shape:
  2D tensor with shape: `[batchSize, channels]`.

@doc {heading: 'Layers', subheading: 'Pooling', namespace: 'layers'}