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

node features is a whole 1 array? #4

Open
A11en0 opened this issue Jul 15, 2021 · 1 comment
Open

node features is a whole 1 array? #4

A11en0 opened this issue Jul 15, 2021 · 1 comment

Comments

@A11en0
Copy link

A11en0 commented Jul 15, 2021

Hi, thanks for your wonderful implement by PyTorch. I have a question why does the node feature use an all 1 tensor(shape: (29426, 29426)) rather than one-hot?

image

@A11en0
Copy link
Author

A11en0 commented Jul 15, 2021

And the size of the features should be N*D, which D is the length of vocabulary.

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

1 participant