code: @Override
      public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException {
          if (inputType.length > 1)
              throw new InvalidKerasConfigurationException(
                      "Keras SimpleRnn layer accepts only one input (received " + inputType.length + ")");
          InputPreProcessor preProcessor = getInputPreprocessor(inputType);
          if (preProcessor != null)
              return preProcessor.getOutputType(inputType[0]);
          else
              return this.getSimpleRnnLayer().getOutputType(-1, inputType[0]);
      }
docs: Get layer output type.
  
  @param inputType Array of InputTypes
  @return output type as InputType
  @throws InvalidKerasConfigurationException Invalid Keras config