-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[TFLite] add support for float16 #7093
Conversation
It would be nice to supply testing. |
I've added a test. |
Is there something else I should fix or change? |
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.
I would just add the comments in the frontend code, and then it is good to go
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.
Thanks @euntaik ! This LGTM now. @FrozenGene , please feel free to merge if it's ok for you as well
Thanks @euntaik @giuseros @FrozenGene ! |
* [TFLite] add support for float16 * add testi case * add test case * add comments
* [TFLite] add support for float16 * add testi case * add test case * add comments
* [TFLite] add support for float16 * add testi case * add test case * add comments
* [TFLite] add support for float16 * add testi case * add test case * add comments
Add support for float16
TFLite converts float32 models to float16 models by introducing a Dequantize op in every op that contains a float32 values (weights, biases, and constants etc. ).
So conv2d op should account for the weights and bias as an input tensor instead of a weight value attached to itself.