Skip to main content

TensorFlow GNN

Summary

TensorFlow GNN is a library to build Graph Neural Networks on the TensorFlow platform. It provides...

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 and discussion, please see O. Ferludin et al.: TF-GNN: Graph Neural Networks in TensorFlow, 2023 (full citation below).

Quickstart

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.

Installation Instructions

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:

  • TensorFlow 2.12 or higher, and any GPU drivers it needs [instructions].
  • Keras v2, as traditionally included with TensorFlow 2.x. TF-GNN does not work with the new multi-backend Keras v3.
    Users of TF2.16+ must also pip install tf-keras and set TF_USE_LEGACY_KERAS=1, see our Keras version guide for details.
  • Apache Beam for distributed graph sampling.

TF-GNN is developed and tested on Linux. Running on other platforms supported by TensorFlow may be possible.

Citation

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},
}

Metadata

Release files for tensorflow-gnn 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tensorflow-gnn 1.0.3
File Size Uploaded
tensorflow-gnn-1.0.3.tar.gz 637.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tensorflow-gnn 1.0.3
File Interpreter ABI Platform
tensorflow_gnn-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / tensorflow-gnn-1.0.3.tar.gz

Download URL tensorflow-gnn-1.0.3.tar.gz
Size 637.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3252b0c526fe75fbf1149ef5ec726504f8e7ab54392c3426dca2dd7e894dd5b
BLAKE2b-256 checksum
How to use checksums
120c28df5029ba3315f1ff54f3c4023de349dc0d25e852ce11303d41515dddbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release files / tensorflow_gnn-1.0.3-py3-none-any.whl

Download URL tensorflow_gnn-1.0.3-py3-none-any.whl
Size 836.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fe9f14e21dd6355b35877ee662883af75ad50097a6b1365812aae4a6f464719
BLAKE2b-256 checksum
How to use checksums
337c41b83efdada583d9ada883ca0648198dfdcc820b08573fd858c3a34e1a30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page