-
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.
Most of the work done by the splitter is now done in the builder. This should give more clarity and control over the mapping between pre-build and post-build objects. The `SplitterDirective` class takes on the organizational tasks of the old `Splitter`, giving directives to the builder about what should be on- or off-chip. Also: - Add unit tests for splitter refactoring. - Raise `BuildError` if learning objects are on_chip or learning and `precompute` are combined. Fixes #208 and #209. - Pass no decoder cache to sub-models. Decoder cache wasn't working due to lack of context manager which is normally constructed by the top-level network build. Fixes #207. - Handle sliced probes. Closes #205. - Check that splitter handles sliced probes. Closes #206. - Test that splitter does not mutate network. Closes #211. - Simulation is now identical whether precompute is True or False, on both emulator and chip. The tolerance for test_precompute is now zero.
- Loading branch information
Showing
18 changed files
with
1,159 additions
and
1,250 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
Oops, something went wrong.