code: public SDVariable maxPooling2d(SDVariable input, Pooling2DConfig pooling2DConfig) {
          MaxPooling2D maxPooling2D = MaxPooling2D.builder()
                  .input(input)
                  .sameDiff(sameDiff())
                  .config(pooling2DConfig)
                  .build();
  
          return maxPooling2D.outputVariable();
      }
docs: Max pooling 2d operation.
  
  @param input           the inputs to pooling
  @param pooling2DConfig the configuration
  @return