GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tensorflow/gnn: TensorFlow GNN is a library to build Graph Neural Networks on the TensorFlow platform.

BranchesTags
Open more actions menu

Latest commit

 

History

977 Commits
977 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
ci
ci
 
 
examples
examples
 
 
package
package
 
 
tensorflow_gnn
tensorflow_gnn
 
 
testdata
testdata
 
 
.bazelversion
.bazelversion
 
 
.gitignore
.gitignore
 
 
AUTHORS
AUTHORS
 
 
BUILD
BUILD
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
WORKSPACE
WORKSPACE
 
 
pyproject.toml
pyproject.toml
 
 
setup.py
setup.py
 
 

Repository files navigation

TensorFlow GNN

Summary

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

  • a tfgnn.GraphTensor type to represent graphs with a heterogeneous schema, that is, multiple types of nodes and edges;
  • tools for data preparation, notably a graph sampler to convert a huge database into a stream of reasonably-sized subgraphs for training and inference;
  • a collection of ready-to-use models and Keras layers to do your own GNN modeling;
  • a high-level API for training orchestration.

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).

Quickstart

Google Colab lets you run TF-GNN demos from your browser, no installation required:

  • Molecular Graph Classification with the MUTAG dataset.
  • Solving OGBN-MAG end-to-end trains a model on heterogeneous sampled subgraphs from the popular OGBN-MAG benchmark.
  • Learning shortest paths with GraphNetworks demonstrates an advanced Encoder/Process/Decoder architecture for predicting the edges of a shortest path.

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 (as of release 1.0):

  • TensorFlow 2.12 or higher, and any GPU drivers it needs [instructions]. (Future releases will raise the required TF version.)
  • 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.
  • For some tests or scripts that requires tensorflow.lite it is required to install ai-edge-litert by using pip install ai-edge-litert

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

About

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

Topics

deep-learninggnnmachine-learningtensorflow

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

1.5k stars

Watchers

30 watching

Forks

209 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.