We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb9cec commit f8dd03dCopy full SHA for f8dd03d
paddle/fluid/operators/fc_mkldnn_op.cc
@@ -27,8 +27,8 @@ template <typename T>
27
class MKLDNNMD {
28
public:
29
explicit MKLDNNMD(const T* in, const T* w, bool bias)
30
- : in{paddle::framework::vectorize2int(in->dims())},
31
- w{paddle::framework::vectorize2int(w->dims())} {
+ : in(paddle::framework::vectorize2int(in->dims())),
+ w(paddle::framework::vectorize2int(w->dims())) {
32
with_bias_ = bias;
33
}
34
@@ -78,7 +78,7 @@ class MKLDNNMD {
78
class MKLDNNMemory {
79
80
MKLDNNMemory(MKLDNNMD<Tensor>* t, const mkldnn::engine& e)
81
- : md_{t}, engine_{e} {}
+ : md_(t), engine_(e) {}
82
virtual ~MKLDNNMemory() = default;
83
84
template <typename Output>
0 commit comments