google/flax được TopGit xếp vào nhóm dự án mã nguồn mở, với 7.4k sao trên GitHub, viết chủ yếu bằng Jupyter Notebook. Flax is a neural network library for JAX that is designed for flexibility.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Flax: A neural network library and ecosystem for JAX designed for flexibility
Overview
| Quick install
| What does Flax look like?
| Documentation
Released in 2024, Flax NNX is a new simplified Flax API that is designed to make
it easier to create, inspect, debug, and analyze neural networks in
JAX. It achieves this by adding first class support
for Python reference semantics. This allows users to express their models using
regular Python objects, enabling reference sharing and mutability.
Flax NNX evolved from the Flax Linen API, which
was released in 2020 by engineers and researchers at Google Brain in close collaboration
with the JAX team.
You can learn more about Flax NNX on the dedicated Flax documentation site. Make sure you check out:
Flax NNX basics
MNIST tutorial
Why Flax NNX
Evolution from Flax Linen to Flax NNX
Note: Flax Linen's documentation has its own site.
The Flax team's mission is to serve the growing JAX neural network
research ecosystem - both within Alphabet and with the broader community,
and to explore the use-cases where JAX shines. We use GitHub for almost
all of our coordination and planning, as well as where we discuss
upcoming design changes. We welcome feedback on any of our discussion,
issue and pull request threads.
You can make feature requests, let us know what you are working on,
report issues, ask questions in our Flax GitHub discussion
forum.
We expect to improve Flax, but we don't anticipate significant
breaking changes to the core API. We use Changelog
entries and deprecation warnings when possible.
Flax is a high-performance neural network library and ecosystem for
JAX that is designed for flexibility:
Try new forms of training by forking an example and by modifying the training
loop, not adding features to a framework.
Flax is being developed in close collaboration with the JAX team and
comes with everything you need to start your research, including:
Neural network API (flax.nnx): Including Linear, Conv, BatchNorm, LayerNorm, GroupNorm, Attention (MultiHeadAttention), LSTMCell, GRUCell, Dropout.
Utilities and patterns: replicated training, serialization and checkpointing, metrics, prefetching on device.
Educational examples: MNIST, Inference/sampling with the Gemma language model (transformer).
Quick install
Flax uses JAX, so do check out JAX installation instructions on CPUs, GPUs and TPUs.
You will need Python 3.12 or later. Install Flax from PyPi:
pip install flax
To upgrade to the latest version of Flax, you can use:
To install some additional dependencies (like matplotlib) that are required but not included
by some dependencies, you can use:
pip install "flax[all]"
What does Flax look like?
We provide three examples using the Flax API: a simple multi-layer perceptron, a CNN and an auto-encoder.
To learn more about the Module abstraction, check out our docs, our broad intro to the Module abstraction. For additional concrete demonstrations of best practices, refer to our
guides and
developer notes.
@software{flax2020github,
author = {Jonathan Heek and Anselm Levskaya and Avital Oliver and Marvin Ritter and Bertrand Rondepierre and Andreas Steiner and Marc van {Z}ee},
title = {{F}lax: A neural network library and ecosystem for {JAX}},
url = {http://github.com/google/flax},
version = {0.12.12},
year = {2026},
}
In the above bibtex entry, names are in alphabetical order, the version number
is intended to be that from flax/version.py, and the year corresponds to the project's open-source release.
Note
Flax is an open source project maintained by a dedicated team at Google DeepMind, but is not an official Google product.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/google/flax là nguồn chính thức.
google/flax có bao nhiêu sao?
google/flax có 7.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/google/flax. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
google/flax có những chủ đề gì?
GitHub topics của google/flax: "jax". TopGit xếp repo vào nhóm mã nguồn mở.
google/flax còn đang phát triển không?
Commit gần nhất trên google/flax là 7 ngày trước (theo timestamp GitHub). Repo có 849 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
google/flax viết bằng ngôn ngữ gì?
google/flax chủ yếu viết bằng Jupyter Notebook. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
flax có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về flax.