Skip to content

A little issue in transR.py #4

@Tranking

Description

@Tranking

In transR.py, it seems wrong about the variable "dis" in the function "_score_func", which it was defined as:
dis = tf.squeeze(tf.matmul(self.Mr, h), axis=2) + r + tf.squeeze(tf.matmul(self.Mr, t), axis=2)
and the second operator "+" seems wrong, it should be the subtraction operator "-".

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