Repository navigation
nnodely 2.0.0
nnodely 2.0 is a rewrite of the library on Keras 3: the same model runs on TensorFlow, PyTorch or JAX.
This release breaks compatibility with 1.x. The migration table maps every 1.x call to 2.0. To stay on 1.x, pin
pip install "nnodely<2".
pip install "nnodely[torch]" # or [tensorflow], or [jax]What's new
Modely: a model declared by its inputs and outputs, usable as a block of another model.- One shape for every stream,
(batch, *seq, tw, *dim), and stream operators+ - * / ** %. - Trainable
Parameters for every weight, shared, initialized and frozen by name. - Recurrent models:
Input.feedback(),model.loop(),Loop,Bufferand hidden states. - Physics blocks:
Gradient,Derivative,IntegrateandOde(Euler, midpoint, Heun, RK4). - Layers:
- structured:
Fir,Linear,Fuzzify,LocalModel,Interpolation,EquationLearner,BatchNormandKerasFunctionfor any Keras layer; - windows and sequences:
Select,Range,Concatenate, and theirTime*andSeq*counterparts.
- structured:
DataLoaderfor dicts, DataFrames and CSV files, with simulations of different lengths.- Training and validation: any Keras loss and optimizer, early stopping, and system-identification metrics with plots.
- Save and export:
save/load, Keras, ONNX on every backend, and an interactive HTML graph.
Full changelog: v1.5.4...v2.0.0