function maxPooling2d(args) {
	  return new MaxPooling2D(args);
	}
Max pooling operation for spatial data.

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

Output shape
  - If `dataFormat=CHANNEL_LAST`:
      4D tensor with shape:
      `[batchSize, pooleRows, pooledCols, channels]`
  - If `dataFormat=CHANNEL_FIRST`:
      4D tensor with shape:
      `[batchSize, channels, pooleRows, pooledCols]`

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