title: Why does keras model predict slower after compile?
body: <p><a href="https://i.stack.imgur.com/cCXBx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cCXBx.png" alt="prediction speed keras"></a></p>
  
  <p>In theory, the prediction should be constant as the weights have a fixed size. How do I get my speed back after compile (without the need to remove optimizer)?</p>
  
  <p>See associated experiment: <a href="https://nbviewer.jupyter.org/github/off99555/TensorFlowExperiments/blob/master/test-prediction-speed-after-compile.ipynb?flush_cache=true" rel="noreferrer">https://nbviewer.jupyter.org/github/off99555/TensorFlowExperiments/blob/master/test-prediction-speed-after-compile.ipynb?flush_cache=true</a></p>