Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keras -> SNN IPython notebook #141

Merged
merged 4 commits into from
Apr 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Release history
the converted Nengo objects, to make it easier to access converted components.
(`#134`_)
- Compatible with TensorFlow 2.2.0. (`#140`_)
- Added a new ``synapse`` argument to the Converter, which can be used to automatically
add synaptic filters on the output of neural layers during the conversion process.
(`#141`_)
- Added a `new example <https://www.nengo.ai/nengo-dl/examples/keras-to-snn.html>`__
demonstrating how to use the NengoDL Converter to convert a Keras model to a spiking
Nengo network. (`#141`_)

**Changed**

Expand Down Expand Up @@ -65,6 +71,7 @@ Release history
data to the wrong input node. This warning can be avoided by passing data for
all nodes, or using the dictionary input style if you want to only pass data for
a specific node. (`#139`_)
- Dictionaries returned by ``sim.predict/evaluate`` will now be ordered. (`#141`_)

**Fixed**

Expand Down Expand Up @@ -93,6 +100,7 @@ Release history
.. _#137: https://github.com/nengo/nengo-dl/pull/137
.. _#139: https://github.com/nengo/nengo-dl/pull/139
.. _#140: https://github.com/nengo/nengo-dl/pull/140
.. _#141: https://github.com/nengo/nengo-dl/pull/141
.. _#142: https://github.com/nengo/nengo-dl/pull/142

3.1.0 (March 4, 2020)
Expand Down
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ adds a number of unique features, such as:
- optimizing the parameters of a model through deep learning
training methods (using the Keras API)
- faster simulation speed, on both CPU and GPU
- inserting networks defined using TensorFlow (such as
deep learning architectures) directly into a Nengo model
- automatic conversion from Keras models to Nengo networks
- inserting TensorFlow code (individual functions or whole
network architectures) directly into a Nengo model

**Documentation**

Expand Down
6 changes: 6 additions & 0 deletions docs/converter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,9 @@ successfully transformed into a native Nengo network:

converter = nengo_dl.Converter(model, allow_fallback=False)
assert converter.verify()

Examples
--------

* :doc:`examples/keras-to-snn`
* :doc:`examples/tensorflow-models`
1 change: 1 addition & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ These examples illustrate some different possible use cases for NengoDL:

examples/tensorflow-models
examples/spiking-mnist
examples/keras-to-snn
examples/lmu
examples/spa-retrieval
examples/spa-memory
Loading