if (kH <= 0 || (padH > 0 && kH > inHeight + 2 * padH)) {
            throw new DL4JInvalidConfigException(getConfigErrorCommonLine(layerIdx, layerName, layerClass, true)
                    + " Invalid input configuration for kernel height. Require 0 < kH <= inHeight + 2*padH; got (kH="
                    + kH + ", inHeight=" + inHeight + ", padH=" + padH + ")\n"
                    + getConfigErrorCommonLastLine1D(inputType, kH, sH, padH, outputDepth, convolutionMode));