Skip to main content

A library for building scalable graph neural networks in TensorFlow.

Project description

TensorFlow GNN (EXPERIMENTAL)

This is an early (alpha) release to get community feedback. It's under active development and we may break API compatibility in the future.

TensorFlow GNN is a library to build Graph Neural Networks on the TensorFlow platform. It contains the following components:

  • A high-level Keras-style API to create GNN models that can easily be composed with other types of models. GNNs are often used in combination with ranking, deep-retrieval (dual-encoders) or mixed with other types of models (image, text, etc.)

  • GNN API for heterogeneous graphs. Many of the graph problems we approach at Google and in the real world contain different types of nodes and edges. Hence the emphasis in heterogeneous models.

  • A well-defined schema to declare the topology of a graph, and tools to validate it. It describes the shape of its training data and serves to guide other tools.

  • A GraphTensor composite tensor type which holds graph data, can be batched, and has efficient graph manipulation functionality available.

  • A library of operations on the GraphTensor structure:

    • Various efficient broadcast and pooling operations on nodes and edges, and related tools.

    • A library of standard baked convolutions, that can be easily extended by ML engineers/researchers.

    • A high-level API for product engineers to quickly build GNN models without necessarily worrying about its details.

  • A set of tools used to convert graph datasets and sample from large graphs.

  • An encoding of graph-shaped training data on file, as well as a library used to parse this data into a data structure your model can extract the various features.

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.

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-0.1.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

tensorflow_gnn-0.1.0-py3-none-any.whl (196.4 kB view details)

Uploaded Python 3

File details

Details for the file tensorflow-gnn-0.1.0.tar.gz.

File metadata

  • Download URL: tensorflow-gnn-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for tensorflow-gnn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d15032f36e5589ef3de08f29ffffd8b6a79d4430d3538320579b61d5d3d4dc4
MD5 d460060320c73d35b922baf3c12e828e
BLAKE2b-256 bff76105e73eef2437906789aef90d221e5b373e6d29657940870924ef91f91c

See more details on using hashes here.

File details

Details for the file tensorflow_gnn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tensorflow_gnn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 196.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for tensorflow_gnn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8382050f5da05963a9e591a3163786ddb99e760b6aab057155d460a7840445d
MD5 c8826f8bda2bfd42b9579b0c88b48dac
BLAKE2b-256 6bd915446f2f2de0c1eab5f5da880d8cc4818197031194f19c5d04ff9d338c77

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