(self, prev, i)
See SequenceLayerBase.get_train_input for details.
See SequenceLayerBase.get_train_input for details.
See SequenceLayerBase . get_train_input for details .
def get_train_input(self, prev, i):
    """See SequenceLayerBase.get_train_input for details."""
    if i == 0:
      return self._zero_label
    else:
      # TODO(gorban): update to gradually introduce gt labels.
      return self._labels_one_hot[:, i - 1, :]
def get_train_input ( self , prev , i ) : if i == 0 : return self . _zero_label else : # TODO(gorban): update to gradually introduce gt labels. return self . _labels_one_hot [ : , i - 1 , : ]