code: public static String getClassNameFromConfig(Map<String, Object> layerConfig, KerasLayerConfiguration conf)
              throws InvalidKerasConfigurationException {
          if (!layerConfig.containsKey(conf.getLAYER_FIELD_CLASS_NAME()))
              throw new InvalidKerasConfigurationException(
                      "Field " + conf.getLAYER_FIELD_CLASS_NAME() + " missing from layer config");
          return (String) layerConfig.get(conf.getLAYER_FIELD_CLASS_NAME());
      }
docs: Get Keras layer class name from Keras layer configuration.
  
  @param layerConfig dictionary containing Keras layer configuration
  @return Keras layer class name
  @throws InvalidKerasConfigurationException Invalid Keras config