Skip to main content

A library for building scalable graph neural networks in TensorFlow.

Project description

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, 2.13, 2.14 or 2.15, 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.)
  • 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},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorflow-gnn-1.0.2rc1.tar.gz (637.7 kB view details)

Uploaded Source

Built Distribution

tensorflow_gnn-1.0.2rc1-py3-none-any.whl (840.0 kB view details)

Uploaded Python 3

File details

Details for the file tensorflow-gnn-1.0.2rc1.tar.gz.

File metadata

  • Download URL: tensorflow-gnn-1.0.2rc1.tar.gz
  • Upload date:
  • Size: 637.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for tensorflow-gnn-1.0.2rc1.tar.gz
Algorithm Hash digest
SHA256 55fa55dd788beae8b9f033c1ff173a1df0c5e1d0729b5dfaef51b8f8b91923e5
MD5 7575174126b5d855759981eb65ff9266
BLAKE2b-256 bafbb1dd60955b1b7e1e78619f726b6a754896a9a39dec34de52b70d0c4b5a5a

See more details on using hashes here.

File details

Details for the file tensorflow_gnn-1.0.2rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for tensorflow_gnn-1.0.2rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 74ffaec8ade8da73be0f961aa92983bfee6216bc52fbbab80a48438af5bbdf6b
MD5 6e7a8e464e86434296acf6938a553e54
BLAKE2b-256 8cc547960159ec23f2068656d834ec6d425091ac39838cc0318257d2b4953b7b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page