微信登录模块
2017-04-09 13:56:24 0 举报
微信mini program登录服务
作者其他创作
大纲/内容
Squeeze (2)
21111
Count (output)
Linear LayerInput: encoder_dimension (2048 neurons)Output: attention_dimension (512 neurons)
BLEU 2
Sum (dim=1)
10111
Linear LayerInput: decoder_dimension (512neurons)Output: attention_dimension (512 neurons)
Reference 2: There is a cat on the mat
Unsqueeze (2)
Generated sequence: The cat the cat on the mat
*
Reference 1: The cat is on the mat
+
Count (Either in reference 1 or 2)
Linear LayerInput: attention_dimension(512neurons)Output: 1 neuron
unsqueeze(1)
softmax
the catcat thecat onon thethe mat
(1+0+1+1+1) / (2+1+1+1+1) = 4/6
0 条评论
下一页