Skip to content
Snippets Groups Projects
  • Tim O'Donnell's avatar
    854f96a9
    Reuse Keras models optimization · 854f96a9
    Tim O'Donnell authored
    This should give a substantial prediction speed improvement as identified by @rohanpai
    
    * Add borrow_cached_network() method to Class1NeuralNetwork
    * Use cached models at in Class1NeuralNetwork.predict
    * Set names for all neural network layers so the model JSON is identical for identical architectures
    854f96a9
    History
    Reuse Keras models optimization
    Tim O'Donnell authored
    This should give a substantial prediction speed improvement as identified by @rohanpai
    
    * Add borrow_cached_network() method to Class1NeuralNetwork
    * Use cached models at in Class1NeuralNetwork.predict
    * Set names for all neural network layers so the model JSON is identical for identical architectures