Separate graph construction from training in RNN example.
Separate graph construction from training in RNN example.

PiperOrigin-RevId: 156997379

rakshit-agrawal/sonnet,deepmind/sonnet,deepmind/sonnet,rakshit-agrawal/sonnet