Skip to content

关于dssm代码的graph.py一处错误 #7

@Mingrg

Description

@Mingrg

我发现dssm下的graph.h

函数cosine:

def cosine(p, h):
    p_norm = tf.norm(p, axis=1, keepdims=True)
    h_norm = tf.norm(p, axis=1, keepdims=True)

上面的h_norm应该是使用”h“而非"p"吧?

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