@tqchen, if we use avg_pool2d , we also need to modify it. But the modified 
code is not much. For example, we should make the sum UInt8 result be Int16 to 
avoid overflow. In our internal implementation, we use q_avg_pool2d to 
distinguish avg_pool2d. Relu shouldn’t be modified. However, if we have 
activation fns, we should have output_min / output_max calculated by 
calculate_activation_range_uint8 said before, then we insert clip operator. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/2351#issuecomment-508894783

Reply via email to