How get node features in DGL, using ID?

261 views Asked by At

I'd like to get nodes with their features by using their IDS? is it possible ? if yes ? how i can do that? for example, I have source nodes IDs of an edge, as follows:

>> u, v = g.edges()
>> print(u)
tensor([0, 1, 0, 0, 1])

And thank you in advance .

0

There are 0 answers