'See SequenceLayerBase.get_eval_input for details.'

def get_eval_input(self, prev, i):

    if (i == 0):
        prev = self._zero_label
    else:
        logit = self.char_logit(prev, char_index=(i - 1))
        prev = self.char_one_hot(logit)
    image_feature = self.get_image_feature(char_index=i)
    return tf.concat([image_feature, prev], 1)
