masahi commented on issue #4458: [Quantization] Fix annotation for multiply op
   @vinx13 I'm trying to get a simple quantization test case working. How can I 
get an int8 output from below? I'm getting FP32 result.
       dim = 32
       x = relay.var("x", shape=(1, dim))
       w = relay.var("w", shape=(dim, dim))
       fc = relay.nn.dense(x, w)
       f = relay.Function([x, w], x * fc)
       mod = relay.Module.from_expr(f)
       with relay.quantize.qconfig():

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to