fix AddPadding tensor shape inference (#59572)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59572
fix AddPadding tensor shape inference
Test Plan: sandcastle
Reviewed By: dehuacheng
Differential Revision: D28686983
fbshipit-source-id: 03f70335fcfd94a1241562f8fbf12043a0deac2b