-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Target Platform Capabilities - Phase 4 (#1301)
* Refactor Target Platform Capabilities - Phase 4 Replace schema classes from dataclass to pydantic 'BaseModel'. Fix tests to support pydantic schema classes. Add test for exporting TargetPlatformModel class to json --------- Co-authored-by: liord <lior.dikstein@altair-semi.com> Co-authored-by: Elad Cohen <78862769+elad-c@users.noreply.github.com>
- Loading branch information
1 parent
dcbfc5c
commit afed6e3
Showing
35 changed files
with
906 additions
and
728 deletions.
There are no files selected for viewing
481 changes: 308 additions & 173 deletions
481
model_compression_toolkit/target_platform_capabilities/schema/v1.py
Large diffs are not rendered by default.
Oops, something went wrong.
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.