-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Match learning between Nengo/emulator/chip
This commit ensures that both the emulator and chip match Nengo in terms of basic PES learning. The emulator now does learning much more accurately, which allows us to better map PES learning parameters (i.e., learning rate, synapse decay) to the chip. This commit also makes several changes to learning tests: - The PES learning test has been simplified and explicitly compares PES learning on Nengo Loihi with core Nengo. - `test_multiple_pes` was fixed. It was not passing when using Nengo as the simulator, so it had been designed with the old Loihi learning rates in mind and needed fixing now that Loihi learning is closer to Nengo learning. - Several test tolerances have been adjusted. Note that some tolerances were changed for the chip; in general, the chip seems to learn slightly faster than the emulator (I'm not quite sure why), but this difference seems to be less apparent for more dimensions/neurons. And adds additional tests: - Add test for PES error clipping. - Add test for learning overflow. - Add test for PES learning with 'simreal' emulator. - Add test for trace increment clip warning. - Add test for discretize_weights.lossy_shift. - Add test for learning trace dropping Co-authored-by: Daniel Rasmussen <[email protected]>
- Loading branch information
Showing
9 changed files
with
516 additions
and
111 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
Oops, something went wrong.