Sony’s deep-learning framework runs everywhere, updates nowhere
Neural Network Libraries was Sony’s attempt to build a single deep-learning stack for research, production servers, and embedded devices.

What it does
Neural Network Libraries is a deep-learning framework with a Python API layered over a C++ core. It handles both static and dynamic computation graphs through a single interface, and ships with a command-line utility that converts trained models between ONNX, TensorFlow, TFLite, and plain C source code. Sony also maintains satellite repositories for CUDA acceleration, reinforcement learning, neural architecture search, and a dedicated C runtime for embedded inference.
The interesting bit
The framework supports arbitrary-order automatic differentiation via nn.grad, and its mixed-graph API lets you build stochastic or conditional networks without switching paradigms. For deployment, the CLI can strip a model down to C or NNB format, making it genuinely embeddable on devices that lack a Python runtime.
Key highlights
- Python front-end over a C++ core, targeting Linux, Windows, and embedded devices
- Same API for both static and dynamic computation graphs
- Arbitrary-order derivatives through
nn.grad nnabla_cliconverts between ONNX, TensorFlow, TFLite, and C/NNB formats- Companion repos add CUDA support, RL, NAS, and a Windows GUI console
Caveats
- Sony has explicitly placed the project in maintenance mode and states it will not be actively developed.
- The README lists the core as both C++11 and C++14, suggesting the documentation is no longer being refreshed.
Verdict
Worth a look if you need a lightweight inference runtime with model-to-C conversion and can tolerate a frozen codebase. Look elsewhere if you want active development or a large community—this is a finished artifact, not a moving target.
Frequently asked
- What is sony/nnabla?
- Neural Network Libraries was Sony’s attempt to build a single deep-learning stack for research, production servers, and embedded devices.
- Is nnabla open source?
- Yes — sony/nnabla is open source, released under the Apache-2.0 license.
- What language is nnabla written in?
- sony/nnabla is primarily written in Python.
- How popular is nnabla?
- sony/nnabla has 2.8k stars on GitHub.
- Where can I find nnabla?
- sony/nnabla is on GitHub at https://github.com/sony/nnabla.