@Override
    public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException {
        if (inputType.length > 1)
            throw new InvalidKerasConfigurationException(
                    "Keras Upsampling layer accepts only one input (received " + inputType.length + ")");
        return this.getUpsampling2DLayer().getOutputType(-1, inputType[0]);
    }
@ Override public InputType getOutputType ( InputType ... inputType ) throws InvalidKerasConfigurationException { if ( inputType . length > 1 ) throw new InvalidKerasConfigurationException ( "Keras Upsampling layer accepts only one input (received " + inputType . length + ")" ) ; return this . getUpsampling2DLayer ( ) . getOutputType ( - 1 , inputType [ 0 ] ) ; }
Get layer output type.

@param inputType Array of InputTypes
@return output type as InputType
@throws InvalidKerasConfigurationException Invalid Keras config