Make ptb_word_lm compatible with the latest TensorFlow source while maintaining backwards compatibility with TF 1.0
Make ptb_word_lm compatible with the latest TensorFlow source while maintaining backwards compatibility with TF 1.0

jazcollins/models,cshallue/models,bousmalis/models,jch1/models,r888888888/models,wangyang59/tf_models,sshleifer/object_detection_kitti,jiaphuan/models,tombstone/models,alexgorban/models,r888888888/models,sshleifer/object_detection_kitti,bousmalis/models,wangyang59/tf_models,bousmalis/models,r888888888/models,xcyan/models,alexgorban/models,xcyan/models,jch1/models,jiaphuan/models,derekjchow/models,bousmalis/models,alexgorban/models,xcyan/models,jiaphuan/models,r888888888/models,jazcollins/models,jazcollins/models,tombstone/models,wangyang59/tf_models,r888888888/models,zbigniewwojna/text-rcnn,tombstone/models,tombstone/models,sshleifer/object_detection_kitti,derekjchow/models,sshleifer/object_detection_kitti,xcyan/models,jch1/models,derekjchow/models,r888888888/models,tombstone/models,xcyan/models,tombstone/models,jch1/models,cshallue/models,xcyan/models,jazcollins/models,wangyang59/tf_models,derekjchow/models,derekjchow/models,jiaphuan/models,bousmalis/models,jiaphuan/models,wangyang59/tf_models,cshallue/models,jiaphuan/models,sshleifer/object_detection_kitti,alexgorban/models,alexgorban/models,bousmalis/models,sshleifer/object_detection_kitti,wangyang59/tf_models,jch1/models,jazcollins/models,cshallue/models,cshallue/models,jazcollins/models,jch1/models