Commit 02a3048
fix(tf): fix argcheck when compressing a model converted from other backends (#4331)
When the model is converted from other backends, the input script only
contains the `model` section. This PR sets the default for any necessary
argument.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the data structure for model compression by adding default
keys for training steps and learning rate.
- **Bug Fixes**
- Improved error handling with more informative runtime exceptions for
missing training scripts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Your Name <[email protected]>1 parent dcbf607 commit 02a3048
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
0 commit comments