Created by: lidanqing-intel
refractor the function ConvFwdPrimitiveDesc as required in PR17570
Maybe there are more places that could be refactored but I will work on them later.