Is there a matching function for vectors inside LSTM sequence in paddle? 比较LSTM seq里面的向量
Created by: rulai-huiyingl
Got LSTM full sequence representation for a pair of input, and want to compare the vector in each time step of one LSTM sequence against each vector of each time step of the other Lstm sequence. Is it possible in Paddle? 想要把一个lstm sequence中的每一个向量和另一个lstm seq中的每一个向量比较(e.g.算cosine),请问paddle里有没有例子/可以实现? 和tf.map_fn类似。 谢谢!