Skip to content

Commit accdecc

Browse files
committed
Correcting Lint errors
1 parent 1ce9e9d commit accdecc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

paddle/fluid/operators/conv_mkldnn_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ class ConvMKLDNNHandler : public platform::MKLDNNHandler {
130130

131131
std::shared_ptr<mkldnn::memory> AcquireWeightsMemoryFromPrimitive(
132132
const std::shared_ptr<mkldnn::memory> user_weights_memory_p,
133-
const std::vector<mkldnn::primitive>& pipeline,
134-
bool is_persistent = false) { // NOLINT
133+
std::vector<mkldnn::primitive>& pipeline, // NOLINT
134+
bool is_persistent = false) {
135135
auto user_weights_pd = user_weights_memory_p->get_primitive_desc();
136136
auto weights_pd = conv_pd_->weights_primitive_desc();
137137
return this->AcquireMemory(weights_pd, user_weights_pd,

paddle/fluid/platform/mkldnn_helper.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,9 @@ class MKLDNNHandler {
191191
mkldnn::memory::primitive_desc& mpd, // NOLINT
192192
mkldnn::memory::primitive_desc& user_mpd, // NOLINT
193193
const std::shared_ptr<mkldnn::memory> user_memory_p,
194-
const std::string& suffix, const std::vector<mkldnn::primitive>& pipeline,
195-
bool is_persistent = false) { // NOLINT
194+
const std::string& suffix,
195+
std::vector<mkldnn::primitive>& pipeline, // NOLINT
196+
bool is_persistent = false) {
196197
// create reorder primitive if the input format is not the preferred one
197198
auto local_key = key_ + suffix;
198199
auto key_reorder_p = key_ + suffix + "reorder_p";

0 commit comments

Comments
 (0)