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

How to understand the shape of "nbr_fea_idx" in the code #33

Open
Powerd0g opened this issue Dec 14, 2021 · 2 comments
Open

How to understand the shape of "nbr_fea_idx" in the code #33

Powerd0g opened this issue Dec 14, 2021 · 2 comments

Comments

@Powerd0g
Copy link

I couldn't understand "the indices of M neighbors of each atom"
Could you give me a simple example about the matrix of "nbr_fea_idx".
Thank you!

@txie-93
Copy link
Owner

txie-93 commented Dec 14, 2021

Thanks for your question. nbr_fea_idx is the indices of the M neighbors for each node. For instance, you have two nodes 0 and 1. Each node is connected to the other and has one neighbor. In this case, M = 1 and nbr_fea_idx = [[1], [0]].

@Powerd0g
Copy link
Author

Thanks for your answer.
if node 0 is connected to a new node 2, but node 1 is not. In this case, what M and nbr_fea_idx look like?

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