Skip to content

is QAT still on the roadmap for keras3? #20319

Answered by james77777778
matpalm asked this question in Q&A
Discussion options

You must be logged in to vote

I'm happy to help with this but unfortunately I don't have enough bandwidth right now.

@matpalm I suggest starting by implementing these ops in a backend-agnostic way, as they are necessary for QAT:

  • tf.quantization.fake_quant_with_min_max_args
  • tf.quantization.fake_quant_with_min_max_vars
  • tf.quantization.fake_quant_with_min_max_vars_per_channel

You should be able to implement them using ops.custom_gradient

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@james77777778
Comment options

Answer selected by matpalm
@matpalm
Comment options

@james77777778
Comment options

@fchollet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants