Skip to content

schlabrendorff/graphormer-pyg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphormer-pyg

Microsoft Graphormer rewritten in PyTorch-Geometric

image

Implemented Layers

  1. Centrality Encoding
  2. Spatial Encoding
  3. Edge Encoding
  4. Multi-Head Self-Attention

Warning

This implementation differs from the original implementation in the paper in following ways:

  1. No [VNode] ([CLS] token analogue in BERT)
  2. The shortest path algorithm is not mentioned in the paper. This repository uses Floyd-Warshall

About

Microsoft Graphormer rewritten in PyTorch-Geometric

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 66.9%
  • Jupyter Notebook 33.1%