Calibrate INT8 with different inputs of different sizes

Hi, I am implementing a calibration plugin layer for calibrating Caffe model with int8.
Since the input size of the model is static after parsed, is there any way I can feed the input of different size in each batch?