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

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

            return(rnn.ComputeTopHiddenLayerOutput(seq));
        }