google-deepmind/sonnet

TensorFlow-based neural network library

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

Documentation | Examples Sonnet is a library built on top of TensorFlow 2 designed to provide simple, composable abstractions for machine learning research. Sonnet has been designed and built by researchers at DeepMind. It can be used to construct neural networks for many different purposes (un/supervised learning, reinforcement learning, ...). We find it is a successful abstraction for our organization, you might too! More specifically, Sonnet provides a simple but powerful programming model centered around a single concept: snt.Module. Modules can hold references to parameters, other modules and methods that apply some function on the user input. Sonnet ships with many predefined modules (e.g. snt.Linear, snt.Conv2D, snt.BatchNorm) and some predefined networks of modules (e.g. snt.nets.MLP) but users are also encouraged to build their own modules. Unlike many frameworks Sonnet is extremely unopinionated about how you will use your modules. Modules are designed to be self contained and entirely decoupled from…

google-deepmind/sonnet on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-27T23:28:47.463Z

Inside the original README — Document outline
  1. Sonnet
  2. Introduction
  3. Getting Started
  4. Examples
  5. Installation
  6. Using existing modules
  7. Building your own module
  8. Serialization
  9. TensorFlow Checkpointing
  10. TensorFlow Saved Model
  11. Distributed training

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

TensorFlow-based neural network library

Repository facts

Owner
google-deepmind
Primary language
Python
Stars
9,974
Forks
1,306
Open issues + pull requests
45
License
Apache-2.0
Archived
No
Default branch
v2
Created
2017-04-03T11:34:35.000Z
Last push
2026-10-29T13:42:08.000Z

Topics and intended use

Owner-supplied topics: artificial-intelligence, deep-learning, machine-learning, neural-networks, tensorflow

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-01T13:20:54.848Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent