From f0cc188399214d35755269ed98076ffbdc69d586 Mon Sep 17 00:00:00 2001 From: cc <52520497+juncaipeng@users.noreply.github.com> Date: Tue, 20 Apr 2021 11:05:56 +0800 Subject: [PATCH] add log to analyse mkldnn models (#32342) --- paddle/fluid/framework/operator.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/framework/operator.cc b/paddle/fluid/framework/operator.cc index e624fbc237..955c917b2c 100644 --- a/paddle/fluid/framework/operator.cc +++ b/paddle/fluid/framework/operator.cc @@ -1236,7 +1236,8 @@ void OperatorWithKernel::ChooseKernel(const RuntimeContext& ctx, } } } - VLOG(3) << "expected_kernel_key:" << expected_kernel_key; + VLOG(3) << "op type:" << type_ + << ", expected_kernel_key:" << expected_kernel_key; auto kernel_iter = kernels.find(expected_kernel_key); #ifdef PADDLE_WITH_MKLDNN -- GitLab