title: on the fly generation with Dataset api tensorflow
body: <p>I have a function which produces feature and target tensors.  E.g. </p>
  
  <pre><code>x,t = myfunc() ##x,t tensors
  </code></pre>
  
  <p>How can I integrate this with TensorFlow's dataset API for continuous training?  Ideally I would like to use dataset to set things like batch, transformations.  </p>
  
  <p>Edit for clarification: The problem being I would like to not just put x and t in my graph but make a dataset from them so that I can use the same dataset processing that I have implemented for (normal) finite datasets I can load into memory and feed into the same graph using an initializable iterator.</p>