pytorch does support quantization for maxpool, you don’t need to change anything and it should just work when you pass a quantized Tensor to maxpool because the output quantization parametere for quantized maxpool can be inferred from input Tensors.