Merge pull request #30586 from siju-samuel:lite_deprecated_tfrun_removal
PiperOrigin-RevId: 258244067
This commit is contained in:
commit
5c6ff74137
@ -348,4 +348,4 @@ def main(argv):
|
||||
|
||||
if __name__ == "__main__":
|
||||
FLAGS, unparsed = parser.parse_known_args()
|
||||
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
|
||||
tf.compat.v1.app.run(main=main, argv=[sys.argv[0]] + unparsed)
|
||||
|
@ -105,4 +105,4 @@ if __name__ == "__main__":
|
||||
if unparsed:
|
||||
print("Usage: %s <path out> <zip file to generate>")
|
||||
else:
|
||||
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
|
||||
tf.compat.v1.app.run(main=main, argv=[sys.argv[0]] + unparsed)
|
||||
|
@ -84,4 +84,4 @@ def main(_):
|
||||
|
||||
if __name__ == '__main__':
|
||||
tf.logging.set_verbosity(tf.logging.INFO)
|
||||
tf.app.run(main)
|
||||
tf.compat.v1.app.run(main)
|
||||
|
Loading…
Reference in New Issue
Block a user