This is to solve first layer calibration problem. If we try to quantize first layer(eg. conv0), then we will insert an quantize op between data and conv0. After enabling calib_quantize_op, we will collect calibration info on data, which can't be done by set_monitor_callback as it only monitors op's output, but data is not an output of any op. To solve this problem, we insert an identity op for data, to convert it to identity's output, then we can use set_monitor_callback to do calibration for it.
[ Full content available at: https://github.com/apache/incubator-mxnet/pull/12530 ] This message was relayed via gitbox.apache.org for [email protected]
