Created by: wojtuss
PR types
Function optimization
PR changes
OPs
Describe
This patch decouples weights and bias memory objects from FC primitive factory in MKLDNN cache. This is required to enable saving INT8 weights and bias tensors from MKLDNN cache. This is the first PR in a series. See https://github.com/PaddlePaddle/Paddle/issues/26679.