title: Tensorflow reset Adam Optimizer internal state every n minibatches
body: <p>That is my question:
  How to reset the Tensorflow Adam Optimizer internal state every n mini batches?</p>
  
  <p>By internal state I mean the m(t), past gradients, and v(t), past squared gradients, parameters.</p>