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

About LayerNormLayer #5

Open
lonelywm opened this issue Nov 24, 2017 · 1 comment
Open

About LayerNormLayer #5

lonelywm opened this issue Nov 24, 2017 · 1 comment

Comments

@lonelywm
Copy link

in forward function, x = torch.inverse(...)

tensor = torch.FloatTensor([[1,2],[3,4]])
t_out = torch.inverse(tensor)
t_o = 1/tensor
print(tensor)
print(t_out)
print(t_o)
==========>
1 2
3 4
[torch.FloatTensor of size 2x2]

-2.0000 1.0000
1.5000 -0.5000
[torch.FloatTensor of size 2x2]

1.0000 0.5000
0.3333 0.2500
============>
or what we need is t_o
in theano T.inv===1/T
as has been mentioned in the paper

@github-pengge
Copy link
Owner

My bad. Now it's fixed.

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