-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Remove context class, back to raw dictionaries
With flattening and unflattening as functional methods moved into `nnbench.util`. The class was pretty much just a wrapper around a dict with nesting support on a separator, and didn't provide a lot of value on its own. Since we already typed the context provider as a callable returning a raw dictionary, it doesn't create any churn to switch the context out for a raw dict, either.
- Loading branch information
1 parent
9173419
commit cf8973d
Showing
4 changed files
with
43 additions
and
241 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