code: public IActivation getGateActivationFromConfig(Map<String, Object> layerConfig)
              throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException {
          Map<String, Object> innerConfig = KerasLayerUtils.getInnerLayerConfigFromConfig(layerConfig, conf);
          if (!innerConfig.containsKey(conf.getLAYER_FIELD_INNER_ACTIVATION()))
              throw new InvalidKerasConfigurationException(
                      "Keras LSTM layer config missing " + conf.getLAYER_FIELD_INNER_ACTIVATION() + " field");
          return mapToIActivation((String) innerConfig.get(conf.getLAYER_FIELD_INNER_ACTIVATION()), conf);
      }
docs: Get LSTM gate activation function from Keras layer configuration.
  
  @param layerConfig dictionary containing Keras layer configuration
  @return LSTM inner activation function
  @throws InvalidKerasConfigurationException Invalid Keras config