From f8dd03dced4b725dbd161d1b9ebbe89b97ce6173 Mon Sep 17 00:00:00 2001 From: mozga-intel Date: Wed, 4 Apr 2018 14:04:17 +0200 Subject: [PATCH] Prepare code for CentOS (#9651) --- paddle/fluid/operators/fc_mkldnn_op.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/operators/fc_mkldnn_op.cc b/paddle/fluid/operators/fc_mkldnn_op.cc index 9c704a2949f..847b7b0c12e 100644 --- a/paddle/fluid/operators/fc_mkldnn_op.cc +++ b/paddle/fluid/operators/fc_mkldnn_op.cc @@ -27,8 +27,8 @@ template class MKLDNNMD { public: explicit MKLDNNMD(const T* in, const T* w, bool bias) - : in{paddle::framework::vectorize2int(in->dims())}, - w{paddle::framework::vectorize2int(w->dims())} { + : in(paddle::framework::vectorize2int(in->dims())), + w(paddle::framework::vectorize2int(w->dims())) { with_bias_ = bias; } @@ -78,7 +78,7 @@ class MKLDNNMD { class MKLDNNMemory { public: MKLDNNMemory(MKLDNNMD* t, const mkldnn::engine& e) - : md_{t}, engine_{e} {} + : md_(t), engine_(e) {} virtual ~MKLDNNMemory() = default; template -- GitLab