Usually we feed a model for training with external data. But I would like to use tensor coming from intermediate layer of the same model as an input for next batch. 
I believe that this can be acheived by using manual loop for training. This time, I prefer to use fit\_generator() from Keras (v2.2.4). I create a mode using Functional API.

Any help are appreciated. Thanks.