예제 #1
0
        public List <double[]> ComputeTopHiddenLayerOutput(Sentence sent)
        {
            Sequence seq = Featurizer.ExtractFeatures(sent);

            return(rnn.ComputeTopHiddenLayerOutput(seq));
        }
예제 #2
0
        public List <float[]> ComputeTopHiddenLayerOutput(Sentence sent)
        {
            var seq = Config.BuildSequence(sent);

            return(rnn.ComputeTopHiddenLayerOutput(seq));
        }