docs: public static int[] mapGlobalPoolingDimensions(String className, KerasLayerConfiguration conf)
              throws UnsupportedKerasConfigurationException {
          int[] dimensions;
          if (className.equals(conf.getLAYER_CLASS_NAME_GLOBAL_MAX_POOLING_1D()) ||
                  className.equals(conf.getLAYER_CLASS_NAME_GLOBAL_AVERAGE_POOLING_1D())) {
              dimensions = new int[]{2};
          } else if (className.equals(conf.getLAYER_CLASS_NAME_GLOBAL_MAX_POOLING_2D()) ||
                  className.equals(conf.getLAYER_CLASS_NAME_GLOBAL_AVERAGE_POOLING_2D())) {
              dimensions = new int[]{2, 3};
          } else if (className.equals(conf.getLAYER_CLASS_NAME_GLOBAL_MAX_POOLING_3D()) ||
              className.equals(conf.getLAYER_CLASS_NAME_GLOBAL_AVERAGE_POOLING_3D())) {
          dimensions = new int[]{2, 3, 4};
      }  else {
              throw new UnsupportedKerasConfigurationException("Unsupported Keras pooling layer " + className);
          }
          return dimensions;
      }