Skip to content

Commit d0f21f2

Browse files
cheshiretensorflower-gardener
authored andcommitted
Port shakespeare benchmark to TF2
PiperOrigin-RevId: 273527676
1 parent 3fa6560 commit d0f21f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/staging/shakespeare/shakespeare_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import os
2323

2424
# pylint: disable=wrong-import-order
25-
from absl import app as absl_app
25+
from absl import app
2626
from absl import flags
2727
import numpy as np
2828
import tensorflow as tf
@@ -298,4 +298,4 @@ def main(_):
298298

299299
if __name__ == '__main__':
300300
define_flags()
301-
absl_app.run(main)
301+
app.run(main)

0 commit comments

Comments
 (0)