Skip to content

Commit f8dd03d

Browse files
mozga-intelSuperjomn
authored andcommitted
Prepare code for CentOS (#9651)
1 parent 5eb9cec commit f8dd03d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/operators/fc_mkldnn_op.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ template <typename T>
2727
class MKLDNNMD {
2828
public:
2929
explicit MKLDNNMD(const T* in, const T* w, bool bias)
30-
: in{paddle::framework::vectorize2int(in->dims())},
31-
w{paddle::framework::vectorize2int(w->dims())} {
30+
: in(paddle::framework::vectorize2int(in->dims())),
31+
w(paddle::framework::vectorize2int(w->dims())) {
3232
with_bias_ = bias;
3333
}
3434

@@ -78,7 +78,7 @@ class MKLDNNMD {
7878
class MKLDNNMemory {
7979
public:
8080
MKLDNNMemory(MKLDNNMD<Tensor>* t, const mkldnn::engine& e)
81-
: md_{t}, engine_{e} {}
81+
: md_(t), engine_(e) {}
8282
virtual ~MKLDNNMemory() = default;
8383

8484
template <typename Output>

0 commit comments

Comments
 (0)