Created by: sfraczek
PR types
Bug fixes
PR changes
Others
Describe
MKLDNN cache is removed in Executor's destructor. This should not happen at the end of RunImpl of conditional_block_op, where locally created Executor is destroyed. When working on dygraph resnet enablement of MKLDNN, I found that test_resnet.py
with MKLDNN enabled will crash because it cannot find forward MKLDNN primitive in cache.