Macro dequant_op_flow
macro_rules! dequant_op_flow {
(
ty $ty:ty, float_op $float_op:expr, $t1:expr, $t2:expr
) => { ... };
(
ty $ty:ty, float_op $float_op:expr, $tensor:expr
) => { ... };
}
Expand description
Automatically applies dequantization -> float operation [-> quantization]
.
The output quantization step is optional. It is only performed when the input quantization scheme is propagated.