Giter Site home page Giter Site logo

Comments (3)

yule-BUAA avatar yule-BUAA commented on May 27, 2024

Hello,

Thanks for your interest in our work!

We make the node ids and edge ids start from 1 because we use the node/edge with id 0 as the mask node/edge, which is easy to implement. Their features are also set to zero vectors. The mask node/edge is then used for padding by the dynamic graph learning methods.

For example, we pad the neighbors in NeighborSampler here and pad the edges here. Then, the dynamic graph learning methods perform masked computations. For instance, the causal attention here.

I hope this answer has well addressed your issue. And feel free to ask if there are any further questions.

Best,

Le Yu

from dyglib.

bwdeng20 avatar bwdeng20 commented on May 27, 2024

Thanks for your swift response :) I am actually still confused. I think I need some time to compare the CTDG implementations from PyG, DyGLib, and those official repos so that I can have a comprehensive understanding.

from dyglib.

yule-BUAA avatar yule-BUAA commented on May 27, 2024

I hope you are doing well. And welcome to contact me if there are any issues with our DyGLib.

from dyglib.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.