Skip to content

Conversation

@juncaipeng
Copy link
Contributor

@juncaipeng juncaipeng commented May 27, 2021

PR types

Others

PR changes

Others

Describe

  • Add layer wrapper for functional api
  • Refine dygraph qat
    • For conv2d and linear, apply fake quant to the inputs
    • For the ops of which the output scale is different from the input scale, apply fake quant to the outputs
    • For the ops of which the output scale is the same as the input scale, calculate the moving average threshold of the outputs

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@juncaipeng juncaipeng changed the title [quant] Add quant wrap for functional api [quant] Add quant wrap for functional api and refine the qat Jun 2, 2021
@juncaipeng juncaipeng requested a review from qingqing01 June 7, 2021 06:25
Copy link
Contributor

@DannyIsFunny DannyIsFunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juncaipeng juncaipeng merged commit ddc95a0 into PaddlePaddle:develop Jun 9, 2021
@juncaipeng juncaipeng deleted the add_quant_functional branch June 9, 2021 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants