Function maxPool

Layer maxPool (
  Layer input,
  ulong[] dims
);