Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.app.run

tf.app.run(
    main=None,
    argv=None
)

Defined in tensorflow/python/platform/app.py.

Runs the program with an optional 'main' function and 'argv' list.