Graph Nets, developed by Google DeepMind, is a Python library designed for constructing and training graph neural networks (GNNs) using TensorFlow and Sonnet. It provides a high-level, flexible framework for building neural architectures that operate directly on graph-structured data. A graph network takes graphs as inputs, consisting of edges, nodes, and global attributes, and produces updated graphs with modified feature representations at each level. This library implements the foundational ideas from DeepMind’s paper “Relational Inductive Biases, Deep Learning, and Graph Networks”, offering tools to explore relational reasoning and message-passing neural networks. Graph Nets supports both TensorFlow 1 and TensorFlow 2, working with CPU and GPU environments, and includes educational Jupyter demos for shortest path finding, sorting, and physical prediction tasks. The codebase emphasizes modularity, allowing users to easily define their own edge, node, and global update functions.

Features

  • Framework for building graph neural networks using TensorFlow and Sonnet
  • Supports graph-level, node-level, and edge-level feature learning
  • Compatible with TensorFlow 1.x and 2.x, on both CPU and GPU setups
  • Includes Colab and Jupyter demo notebooks for hands-on learning and experimentation
  • Enables modular architecture design with customizable graph update functions
  • Suitable for a range of tasks including physical simulation, sorting, and pathfinding

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Graph Nets library

Graph Nets library Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Graph Nets library!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-10-09