How to write a customized LSTM in tensorflow?
<p>I am trying to reimplement this paper <a href="http://mi.eng.cam.ac.uk/~thw28/papers/EMNLP15.pdf" rel="nofollow">Semantically Conditioned LSTM-based Natural Language Generation for Spoken Dialogue Systems</a>, in which they add a gate to the LSTM cell and change how the state is computed.</p>

<p>How can I do this in tensorflow? Do I need to add a new OP ?</p>