"vscode:/vscode.git/clone" did not exist on "0fdbf1bd285cf55d2d24f7659d6734aa3bd6ef70"
Update mnist_tpu.py with recommended tf.data APIs (#5853)
1. `tf.contrib.data.batch_and_drop_remainder()` has been deprecated for a while now. 2. `Dataset.make_one_shot_iterator()` is no longer necessary in input functions, and avoiding it lead to better performance on TPUs. (It will also be removed in TF 2.0.)
Showing
Please register or sign in to comment