Contents

flax 0.8.2

0

Flax: A neural network library for JAX designed for flexibility

Flax: A neural network library for JAX designed for flexibility

Stars: 5443, Watchers: 5443, Forks: 582, Open Issues: 208

The google/flax repo was created 4 years ago and the last code push was an hour ago.
The project is extremely popular with a mindblowing 5443 github stars!

How to Install flax

You can install flax using pip

pip install flax

or add it to a project with poetry

poetry add flax

Package Details

Author
License
Homepage
PyPi:
https://pypi.org/project/flax/
GitHub Repo:
https://github.com/google/flax

Classifiers

  • Scientific/Engineering/Artificial Intelligence
No  flax  pypi packages just yet.

Errors

A list of common flax errors.

Code Examples

Here are some flax code examples and snippets.

GitHub Issues

The flax package has 208 open issues on GitHub

  • Remove float32 dtype assumption
  • Update download_dataset_metadata.sh
  • Fix scope rewind-aliasing issue under transforms.
  • Add design note about setup vs nn.compact
  • Updates documentation flax.optim -> optax
  • FLIP: default dtype
  • Default dtype flip
  • Update batching dimension comment.
  • Scan with split parameters
  • PJit example of ImageNet
  • Inconsistent network behaviour when using different batch sizes for model.apply on CPU
  • Complicated aliasing issue when passing modules as arguments in transforms
  • Building JAX port of Detectron2
  • Update bug_report.md
  • WIP: Try to relax the constraint that attributes are immutable during setup(), while still having safe and correct cloning

See more issues on GitHub

Related Packages & Articles

thinc 8.2.3

A refreshing functional take on deep learning, compatible with your favorite libraries

keras 3.2.0

Keras is a deep learning API written in Python, running on top of the machine learning platform TensorFlow. The core data structures of Keras are layers and models. The philosophy is to keep simple things simple, while allowing the user to be fully in control when they need to (the ultimate control being the easy extensibility of the source code via subclassing).