-
Notifications
You must be signed in to change notification settings - Fork 171
[circle-resizer] Introduce a new tool to models resizing #14727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This commit introduces a new tool for Circle model resizing. ONE-DCO-1.0-Signed-off-by: Mateusz Bencer <[email protected]>
| namespace | ||
| { | ||
|
|
||
| void change_single_input_shape(luci::CircleInput *circle_input, const Shape &new_shape) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jinevening One thing to confirm here. Should circle-resizer also modify shape_signature attribute? I think no because it's a something specific for TF but I would like to confirm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
circle uses shape_signature as well. PTAL luci/import/src/Importer.cpp.
(Not 100% sure) But you may not have to do further modification, because shape signature may be automatically set by encodeShapeSignature in CircleTensorExporter.cpp.
This commit introduces a new tool for Circle model resizing.
ONE-DCO-1.0-Signed-off-by: Mateusz Bencer [email protected]
Issue: #14791