Skip to content
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

[Frontend][TFLite] Dynamically calculate input_stats of any fake_quant range #4789

Merged
merged 2 commits into from
Feb 5, 2020

Commits on Jan 29, 2020

  1. [TFLite] Dynamically calculate input_stats of any fake_quant range

    * pass the input range to the convertor and caclulate (mean, scale) there
    * change the range of the second tensor in elemwise operations
      so that we test inputs with different quant params
    * change the possible output range for elemwise ops wrt the updated ranges
    * update the comments for (m, s) calculations
    * add input range dict to reduce_mean op
    inadob committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    4e738a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Apply requested changes

    * add exception handling for zero division in input_stats
    * fix range of the input tensor in elemwsie
    inadob committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    e899007 View commit details
    Browse the repository at this point in the history