Created by: grygielski
PR types
New features
PR changes
Others
Describe
This PR adds a mechanism for preventing oneDNN cache clearing without changes in Executor. It solves problems mentioned in https://github.com/PaddlePaddle/Paddle/issues/25988.