Skip to main content

NSE is a Keras add-on targeting edge devices.

Project description

NSE

Documentation: https://ambiqai.github.io/neuralspot-edge

Source Code: https://github.com/AmbiqAI/neuralspot-edge


NeuralSPOT Edge (NSE)

neuralSPOT Edge (NSE) is Keras 3 add-on focused on training and deploying models on resource-constrained, edge devices. NSE relies heavily on Keras 3 leveraging it's multi-backend support and customizable architecture. This package provides a variety of additional models, layers, optimizers, quantizers, and other components to help users train and deploy models for edge devices.


Main Features

  • Callbacks: Training callbacks
  • Converters: Converters for exporting models
  • Interpreters: Inference engine interpreters (e.g. TFLite)
  • Layers: Custom layers including tf.data.Dataset preprocessing layers
  • Losses: Additional losses such as SimCLRLoss
  • Metrics: Custom metrics such as SNR
  • Models: Highly parameterized 1D/2D model architectures
  • Optimizers: Additional optimizers
  • Plotting: Plotting routines
  • Quantizers: Quantization techniques
  • Trainers: Custom trainers such as SSL contrastive learning
  • Utils: Utility functions

Problems NSE looks to solve

Compatability issues between frameworks and inference engines

  • By leveraging Keras 3, entire workflows can be run using a variety of backends using a consistent front-end API. This allows selecting a backend that plays nicely with a specific inference engine without rewriting the entire model.

SOTA models dont scale down well and come in limited configurations

  • By providing highly parameterized model architectures based on SOTA models, users can easily scale down models to fit their needs.

Limited 1D time-series models

  • Most included models in NSE provide both 1D and 2D versions. The package also contains time-series specific models.

Limited support for quantization, pruning, and other model optimization techniques

  • NSE provides a variety of quantization and pruning techniques to optimize models for edge deployment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neuralspot_edge-0.2.2.tar.gz (82.3 kB view details)

Uploaded Source

Built Distribution

neuralspot_edge-0.2.2-py3-none-any.whl (129.7 kB view details)

Uploaded Python 3

File details

Details for the file neuralspot_edge-0.2.2.tar.gz.

File metadata

  • Download URL: neuralspot_edge-0.2.2.tar.gz
  • Upload date:
  • Size: 82.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for neuralspot_edge-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e064fc002fe783eabb4b1a5e75babb98f4e4db34a136337bbcd2962bfb43352d
MD5 1269986d92195d70aa7384b6cb9df6e9
BLAKE2b-256 1ec794177a8e68b7b4be8804598d7b2b35b56d05be4f4f7209c50d0d412a4a07

See more details on using hashes here.

File details

Details for the file neuralspot_edge-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for neuralspot_edge-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4441d72e5c59daf209587deb025c09ccc79b1d17d37b86be8d492902303e5c4a
MD5 eb61f61395b640171b02a3ee6afa0b8c
BLAKE2b-256 02819b230cbcdc69c80e69434a1d2b8bbd7e58b480306baa0ef8f8576b3b8d23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page