Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release of lava-dnf v0.1.0 (#8)
* Removed placeholder file * Removed 'lib' from gitignore Signed-off-by: Mathis Richter <[email protected]> * Added Population Process and shape validation Signed-off-by: Mathis Richter <[email protected]> * Added Population SubProcessModel Signed-off-by: Mathis Richter <[email protected]> * Make unit test for Population ProcessModel ports more explicit Signed-off-by: Mathis Richter <[email protected]> * Unit test that executes a Population Signed-off-by: Mathis Richter <[email protected]> * Modified Population ProcessModel unit test to use get_src_ports/get_dst_ports Signed-off-by: Mathis Richter <[email protected]> * Added convenience function num_neurons() Signed-off-by: Mathis Richter <[email protected]> * Added first version of connect() function Signed-off-by: Mathis Richter <[email protected]> * Added missing __init__ file Signed-off-by: Mathis Richter <[email protected]> * Added num_dims function Signed-off-by: Mathis Richter <[email protected]> * Added configuration functionality to operations Signed-off-by: Mathis Richter <[email protected]> * Added basic configuration of operations in connect() Signed-off-by: Mathis Richter <[email protected]> * Added additional top-level lava directory and moved lib inside Signed-off-by: Mathis Richter <[email protected]> * Refactored connect unit tests Signed-off-by: Mathis Richter <[email protected]> * Added check for multiple operations that change shape (not yet implemented) Signed-off-by: Mathis Richter <[email protected]> * Weights are computed for all operations Signed-off-by: Mathis Richter <[email protected]> * Fixed linter error Signed-off-by: Mathis Richter <[email protected]> * Unit testing only against the public API of connect Signed-off-by: Mathis Richter <[email protected]> * Doc strings for operations module Signed-off-by: Mathis Richter <[email protected]> * Added exception for misconfigured operations Signed-off-by: Mathis Richter <[email protected]> * Refactored validation of operations using exceptions rather than boolean returns Signed-off-by: Mathis Richter <[email protected]> * Added Weights operation Signed-off-by: Mathis Richter <[email protected]> * Unit test for computing weights now covers shapes of 0d-3d Signed-off-by: Mathis Richter <[email protected]> * Major rewrite of operations; now supporting multiple operations that change shape. Signed-off-by: Mathis Richter <[email protected]> * Added ReduceDims Operation Signed-off-by: Mathis Richter <[email protected]> * Removed redundant unit test for connect function Signed-off-by: Mathis Richter <[email protected]> * Added AbstractExpandDimsOperation Signed-off-by: Mathis Richter <[email protected]> * Added ExpandDims Operation Signed-off-by: Mathis Richter <[email protected]> * Refactored projection function to simplify interface Signed-off-by: Mathis Richter <[email protected]> * Added Reorder Operation (wip, some redesign required) Signed-off-by: Mathis Richter <[email protected]> * Rough draft of inputs module Signed-off-by: Mathis Richter <[email protected]> * Refactored operations, extracting the handling of shapes Signed-off-by: Mathis Richter <[email protected]> * Added acceptance tests in tests/acceptance; moved unit tests to tests/unit Signed-off-by: Mathis Richter <[email protected]> * Moved operation enums into separate module Signed-off-by: Mathis Richter <[email protected]> * Minor changes to docstrings Signed-off-by: Mathis Richter <[email protected]> * Added additional top-level 'src' directory and 'lava' directory under 'tests' Signed-off-by: Mathis Richter <[email protected]> * GaussInputPattern + SpikeInputGenerator + BiasInputGenerator and draft Source Processes * updating .gitignore * Cosmetics on imports Signed-off-by: Mathis Richter <[email protected]> * Added is_odd() helper function Signed-off-by: Mathis Richter <[email protected]> * Added BorderType enum Signed-off-by: Mathis Richter <[email protected]> * Fixed docstrings Signed-off-by: Mathis Richter <[email protected]> * Added rudimentary Kernel class to support development of Convolution operation Signed-off-by: Mathis Richter <[email protected]> * Added Convolution operation Signed-off-by: Mathis Richter <[email protected]> * Fixed linter warnings Signed-off-by: Mathis Richter <[email protected]> * Fixed security linter error Signed-off-by: Mathis Richter <[email protected]> * GaussInputPattern + SpikeInputGenerator done. SpikeSource not running. * Updated CI/CD based on lava-optimization Signed-off-by: Mathis Richter <[email protected]> * Added pybuilder dependency Signed-off-by: Mathis Richter <[email protected]> * First draft of a DNF 101 tutorial Signed-off-by: Mathis Richter <[email protected]> * Added gauss() function * Added SelectiveKernel * Fixed linter error * Renamed bias_mant to bias in Population * Added MultiPeakKernel * Updated example in README to new API * SpikeInput refactoring (wip) * GaussPattern + SpikeGenerator. Missing unit tests and documentation. * Updated the DNF 101 tutorial This makes assumptions about future changes to inputs and monitors. * Reordered sections of DNF tutorial and fixed minor issues * Documentation + refactor GaussPattern param validation + fixing linting errors. * Restructuring inputs directory * Unit testing. * Temporary placeholder for missing ReshapePorts * Adding parameters to SpikeGenerator + refactoring unit tests. * Skipping unit tests that have non-deterministic behavior * Skipping unit tests that have non-deterministic behavior * Changed __init__.py files to new Lava convention * Removed one more __init__.py file * Removed two more __init__.py files * Updated tutorial after feedback * Fixed non-determinism in unit tests (#3) Co-authored-by: gkarray <[email protected]> * Update requirements.txt (#2) * Fixed bugs in tutorial * Update requirements.txt * Update build.py Add project.build_depends_on("lava", url="git+https://github.com/lava-nc/lava.git) to build.py * ci-build.yml: Only run unit tests on Windows * Update ci-build.yml * Moved unit tests to be consistent with lava test directory structure * Replaced np.bool/np.int with bool/int * Replaced tau parameters with decay * Added complete type annotations * Capitalized comments * Removed Population Process and replaced it with LIF * Addressing pending error, RuntimeWarning and adding few comments. * Update ci-build.yml * Added preliminary but working raster plot * Updated tutorial to include Monitors and raster plots * Cosmetic changes to visible documents * Updated tutorial to work with new Dense implementations * Split off examples from DNF 101 tutorial * Docstring cosmetics * Minor correction in RateCodeSpikeGen + restructure and unit testing plotting.py * Operations in connect function are now optional * Fixed linter errors * Homogenizing asserts in plotting's unit tests. * Reverting plotting functions to old (num_time_steps, num_neurons) shape convention * Refactoring tutorial_dnf_regimes.ipynb * Adding colorbar to tutorial_dnf_regimes.ipynb plots. * Updated tutorials * Adding animated plot for dnf_regimes tutorial * Fixing linter errors. * Updated animated plots and added them to DNF regime tutorial * Fixed unit tests that needed changes but were blocked by PR #96 Signed-off-by: Mathis Richter <[email protected]> * Removed tags from Process Models, anticipating changes in PR#96 Signed-off-by: Mathis Richter <[email protected]> * Fixed typo in tutorial Signed-off-by: Mathis Richter <[email protected]> Co-authored-by: Ghassen Karray <[email protected]> Co-authored-by: gkarray <[email protected]> Co-authored-by: Marcus G K Williams <[email protected]>
- Loading branch information