Imported from https://github.com/jiahuei/Self-Critical-SCST-TensorFlow