Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于模型constraints部分的代码实现疑惑 #32

Closed
airship-explorer opened this issue Mar 26, 2018 · 2 comments
Closed

关于模型constraints部分的代码实现疑惑 #32

airship-explorer opened this issue Mar 26, 2018 · 2 comments

Comments

@airship-explorer
Copy link

您好,我阅读代码(PyTorch版)时有一个疑惑:以TransE为例,请问原论文算法流程图中提到实体norm,在代码中什么地方实现的,我好像没有找到?谢谢
即,e ← e/ ∥e∥ for each entity e ∈ E

@THUCSTHanxu13
Copy link
Member

其实在之前写完之后发现不加向量模长约束对结果几乎不造成影响,所以这部分就直接省略了。。。

@airship-explorer
Copy link
Author

好的,明白了,谢谢您的回答~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants