About How padding works in Nvidia Deepstream

There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
nvinfer plugin is opensource. please refer to dump_infer_input_to_file.patch.txt in DeepStream SDK FAQ - #9 by mchi, it will dump the input just before calling TRT inference. it includes padding.