public List <double[]> ComputeTopHiddenLayerOutput(Sentence sent) { Sequence seq = Featurizer.ExtractFeatures(sent); return(rnn.ComputeTopHiddenLayerOutput(seq)); }
public List <float[]> ComputeTopHiddenLayerOutput(Sentence sent) { var seq = Config.BuildSequence(sent); return(rnn.ComputeTopHiddenLayerOutput(seq)); }