Skip to content

2.4.0

Choose a tag to compare

@piernov piernov released this 24 Jan 18:49
· 50 commits to master since this release
bd83182

New features

  • Add Concatenate layer for Keras.
  • Add Slice layer for Keras 2.x SlicingOpLambda and Keras 3.x GetItem.
  • Add Permute layer for torch.permute().
  • Add SampleNorm layer for Keras custom layer.
  • Add MetricsConverter: generate instanciation of C++ metrics.
  • assets/include/model.hh: add output quantization information.
  • examples/Linux: CMake project.
  • examples/Linux: use libqualia-neuralnetwork.
  • Add examples/NucleoH7S3L8.
  • Add examples/NucleoU575ZIQ.
  • examples/NucleoL452REP: measure latency on target.
  • libqualia-neuralnetwork/Metrics: add Accuracy, MAE, MSE, PCC and linear regression slope metrics in C++.
  • libqualia-neuralnetwork/NeuralNetwork: quantize targets to match outputs.
  • libqualia-neuralnetwork: install as Python package.
  • libqualia-neuralnetwork/NeuralNetwork: add metrics computation.

Bug fixes

  • graph.TorchModelGraph: fix AdaptiveAvgPool1d argument.
  • graph.TorchModelGraph: fix handling of method before any module.
  • graph.TorchModelGraph: filter args of methods.
  • graph.TorchModelGraph: fix input shape of methods.
  • graph.KerasModelGraph: fix input/output shape access for some Keras 3.x layers.
  • graph.KerasModelGraph: fix for Keras 3.x layers without dtype.
  • graph.KerasModelGraph: handle improperly ordered Keras graphs.
  • assets/model.cc: support multiple input layers.
  • assets/layers/conv1d.cc: fix usage of arm_convolve_HWC_q15_fast_nonsquare() due to undocumented constraint.
  • examples/Linux: disable -floop-nest-optimize, broken with libisl 0.27.

Breaking changes

  • learningmodel.pytorch.SCNN: GSP makes last Conv layer implicit without BatchNorm.
  • examples/NucleoL452REP: default to 80 MHz core clock, optional 48 MHz setting.