Skip to content

How to get the cosine similarity eq2 from the function att_emb_ngram_encoder_maxout?  #16

@tongcu

Description

@tongcu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions