How does tf.app.run() work in Tensorflow translate demo?
tf.app.run()
In tensorflow/models/rnn/translate/translate.py, there is a call to tf.app.
tensorflow/models/rnn/translate/translate.py
tf.app.
There is nothing special in tf.app. This is just a generic entry point script, which
Runs the program with an optional 'main' function and 'argv' list.
It has nothing to do with neural networks and it just calls the main function, passing through any arguments to it.