Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Step 1: Load Keras TensorFlow Model using DeepLearning4J API
String simpleMlp = new ClassPathResource("generatedModels/Keras/simple_mlp.h5").getFile().getPath();
MultiLayerNetwork model = KerasModelImport.importKerasSequentialModelAndWeights(simpleMlp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment