How to get the cosine similarity(eq2) in paper from the function att_emb_ngram_encoder_maxout?
AND what is the following code Att_v = tf.contrib.layers.conv2d(G, num_outputs=opt.num_class,kernel_size=[opt.ngram], padding='SAME',activation_fn=tf.nn.relu) #b * s * c refer to in this paper?
How to get the cosine similarity(eq2) in paper from the function att_emb_ngram_encoder_maxout?
AND what is the following code Att_v = tf.contrib.layers.conv2d(G, num_outputs=opt.num_class,kernel_size=[opt.ngram], padding='SAME',activation_fn=tf.nn.relu) #b * s * c refer to in this paper?