-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added empty list attribute `tags` to `AbstractProcessModel`, which will be `setattr`ed by `@tag` decorator Signed-off-by: Risbud, Sumedh <[email protected]> * AbstractProcessModel `__repr__` is aware of tags Signed-off-by: Risbud, Sumedh <[email protected]> * Fixed behaviour in various scenarios with respect to `ProcessModel` tags: - Completely rewrote the Loihi1SimCfg to correctly handle cases when: + No tags are associated with a ProcessModel and none are asked by a user + Tags are present and one of those is queried by a user - When compiler called RunConfig.select(), it checks for the type of the returned object and throws exception if necessary - Fixed Monitor unittests Signed-off-by: Risbud, Sumedh <[email protected]> * Fixed behaviour in various scenarios with respect to `ProcessModel` tags: - Completely rewrote the Loihi1SimCfg to correctly handle cases when: + No tags are associated with a ProcessModel and none are asked by a user + Tags are present and one of those is queried by a user - When compiler called RunConfig.select(), it checks for the type of the returned object and throws exception if necessary - Fixed Monitor unittests Signed-off-by: Risbud, Sumedh <[email protected]> * Changes to Loihi1SimCfg docstring based on review by @elvinhajizada Signed-off-by: Risbud, Sumedh <[email protected]> * Addressed all review comments and suggestions by @awintel and @mathisrichter Signed-off-by: Risbud, Sumedh <[email protected]> * Bugfix: removed AssertionError from Loihi1SimCfg if no SubProcModels were found. LeafProcesses don't have SubProcModels Signed-off-by: Risbud, Sumedh <[email protected]> * Another complete re-write of Loihi1SimCfg to incorporate code review suggestions of @awintel and @mathisrichter Signed-off-by: Risbud, Sumedh <[email protected]> Co-authored-by: Marcus G K Williams <[email protected]>
- Loading branch information
Showing
5 changed files
with
239 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters