-------------------------
**Added**
- NengoDL will now automatically use a rate-based approximation to compute the
gradient for spiking neuron types, if one is known (no more need to manually
swap neuron types for training and inference).
- Added ``nengo_dl.configure_settings(inference_only=True)`` option, which will
build the network in inference-only mode. This will slightly improve the
inference speed of the simulation, but the network will not be trainable.
- Added ``nengo_dl.configure_settings(lif_smoothing=x)`` option, which will
control how much smoothing is applied to the LIF function during gradient
calculations (if any).
- Added `documentation <https://www.nengo.ai/nengo-dl/config.html>`__ on the
various NengoDL config options.
- Added better validation for TensorNode output when ``size_out != None``
(`51 <https://github.com/nengo/nengo-dl/issues/51>`_)
**Changed**
- More informative error message if the user tries to pass target values for
a probe that isn't used in the objective function.
- Switched to ADD_N gradient accumulation (from TREE); this will increase
the memory usage during training, but improve performance.
- Revert to ``Timeline`` profiling method. ``tf.profiler`` can produce
incorrect output, and isn't maintained any more
(https://github.com/tensorflow/tensorflow/issues/15214#issuecomment-382442357)
- Reduce memory usage during training by caching temporary variables used
when computing ``ScatterUpdate`` gradient.
- Increase minimum TensorFlow version to 1.4.0.
- Increased minimum NumPy version to 1.12.1 (required by TensorFlow)
- Sort write signals as well as reads during graph optimization (encourages
tighter partitioning, which can improve training/inference speed).
- Moved ``configure_settings`` from ``utils.py`` to ``config.py``.
**Fixed**
- Fixed a bug where
``nengo_dl.dists.VarianceScaling(..., distribution="normal")`` did not
respect the seed if one was given.
**Deprecated**
- The ``Simulator(dtype=...)`` argument has been deprecated; use
``nengo_dl.configure_settings(dtype=...)`` instead. Will be removed in
1.3.0.