Skip to content

Commit f7a95c5

Browse files
authored
Merge pull request #658 from onnx/gs/fix-tut
make flag parsing happy
2 parents 954d416 + e47dc4b commit f7a95c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorials/BertTutorial.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@
194194
"tf.logging.set_verbosity(\"WARN\")\n",
195195
"\n",
196196
"# touch flags\n",
197-
"FLAGS = tf.flags.FLAGS"
197+
"FLAGS = tf.flags.FLAGS\n",
198+
"tf.app.flags.DEFINE_string('f', '', 'kernel')"
198199
]
199200
},
200201
{

0 commit comments

Comments
 (0)