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

reasoner.py #12

Open
qiunlp opened this issue Jul 12, 2020 · 1 comment
Open

reasoner.py #12

qiunlp opened this issue Jul 12, 2020 · 1 comment

Comments

@qiunlp
Copy link

qiunlp commented Jul 12, 2020

您好:请教一下代码的理解:
reasoner.py
class StructInduction(nn.Module):
STEP2: Injecting structrual bias
d0,dx,df对应论文中什么公式?
或者说论文中公式(8)对应的代码是什么?
谢谢!

@nanguoshun
Copy link
Owner

@qiunlp 谢谢关注和提问。公式8对应的代码是:reasoner.py的line 141 到 160,用于计算节点之间的marginal probability

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

2 participants