# Module: tf.compat.v1.app

<br />

|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 2 version](https://www.tensorflow.org/api_docs/python/tf/compat/v1/app) |

Generic entry point script.

## Functions

[`run(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/app/run): Runs the program with an optional 'main' function and 'argv' list.