TensorFlow GNN is a library to build Graph Neural Networks on the TensorFlow platform. It provides...
tfgnn.GraphTensor
type to represent
graphs with a heterogeneous schema, that is,
multiple types of nodes and edges;This library is an OSS port of a Google-internal library used in a broad variety of contexts, on homogeneous and heterogeneous graphs, and in conjunction with other scalable graph mining tools.
For background, please see our blog post and the TF-GNN paper (full citation below).
Google Colab lets you run TF-GNN demos from your browser, no installation required:
For all colabs and user guides, please see the Documentation overview page, which also links to the API docs.
The latest stable release of TensorFlow GNN is available from
pip install tensorflow-gnn
For installation from source, see our Developer Guide.
Key platform requirements:
pip install tf-keras
and set
TF_USE_LEGACY_KERAS=1,
see our Keras version guide for details.pip install ai-edge-litert
TF-GNN is developed and tested on Linux. Running on other platforms supported by TensorFlow may be possible.
When referencing this library in a paper, please cite the TF-GNN paper:
@article{tfgnn,
author = {Oleksandr Ferludin and Arno Eigenwillig and Martin Blais and
Dustin Zelle and Jan Pfeifer and Alvaro Sanchez{-}Gonzalez and
Wai Lok Sibon Li and Sami Abu{-}El{-}Haija and Peter Battaglia and
Neslihan Bulut and Jonathan Halcrow and
Filipe Miguel Gon{\c{c}}alves de Almeida and Pedro Gonnet and
Liangze Jiang and Parth Kothari and Silvio Lattanzi and
Andr{\'{e}} Linhares and Brandon Mayer and Vahab Mirrokni and
John Palowitch and Mihir Paradkar and Jennifer She and
Anton Tsitsulin and Kevin Villela and Lisa Wang and David Wong and
Bryan Perozzi},
title = {{TF-GNN:} Graph Neural Networks in TensorFlow},
journal = {CoRR},
volume = {abs/2207.03522},
year = {2023},
url = {http://arxiv.org/abs/2207.03522},
}