(self, prev, i)
See SequenceLayerBase.get_eval_input for details.
See SequenceLayerBase.get_eval_input for details.
See SequenceLayerBase . get_eval_input for details .
def get_eval_input(self, prev, i):
    """See SequenceLayerBase.get_eval_input for details."""
    if i == 0:
      return self._zero_label
    else:
      logit = self.char_logit(prev, char_index=i - 1)
      return self.char_one_hot(logit)
def get_eval_input ( self , prev , i ) : if i == 0 : return self . _zero_label else : logit = self . char_logit ( prev , char_index = i - 1 ) return self . char_one_hot ( logit )