Skip to content

Commit cea3912

Browse files
authored
Fix cpplint errors (#9800)
1 parent 3ebc5e1 commit cea3912

File tree

11 files changed

+14
-5
lines changed

11 files changed

+14
-5
lines changed

paddle/fluid/operators/batch_norm_op.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/operators/batch_norm_op.h"
16+
#include <string>
1617
#include "paddle/fluid/framework/data_layout.h"
1718

1819
namespace paddle {

paddle/fluid/operators/batch_norm_op.cu.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/operators/batch_norm_op.h"
16-
#include "paddle/fluid/framework/data_layout.h"
17-
1816
#include <cfloat>
17+
#include "paddle/fluid/framework/data_layout.h"
1918
#include "paddle/fluid/operators/math/math_function.h"
2019
#include "paddle/fluid/platform/cudnn_helper.h"
2120
#include "paddle/fluid/platform/float16.h"

paddle/fluid/operators/batch_size_like.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#pragma once
16-
16+
#include <algorithm>
17+
#include <vector>
1718
#include "paddle/fluid/framework/op_registry.h"
1819
#include "paddle/fluid/operators/math/math_function.h"
1920

paddle/fluid/operators/box_coder_op.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ See the License for the specific language governing permissions and
1010
limitations under the License. */
1111

1212
#pragma once
13+
#include <string>
1314
#include "paddle/fluid/framework/op_registry.h"
1415
#include "paddle/fluid/operators/math/math_function.h"
1516

paddle/fluid/operators/compare_op.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/operators/compare_op.h"
16+
#include <string>
1617
#include "paddle/fluid/framework/op_registry.h"
1718

1819
namespace paddle {

paddle/fluid/operators/concat_op.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/operators/concat_op.h"
16+
#include <string>
1617
#include <vector>
1718

1819
namespace paddle {

paddle/fluid/operators/cond_op.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#pragma once
16+
#include <string>
1617
#include <vector>
1718
#include "glog/logging.h"
1819
#include "paddle/fluid/framework/ddim.h"

paddle/fluid/operators/conv_transpose_op.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/operators/conv_transpose_op.h"
16+
#include <string>
17+
#include <vector>
1618

1719
namespace paddle {
1820
namespace operators {

paddle/fluid/operators/conv_transpose_op.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#pragma once
16-
16+
#include <vector>
1717
#include "paddle/fluid/framework/eigen.h"
1818
#include "paddle/fluid/framework/op_registry.h"
1919
#include "paddle/fluid/operators/math/im2col.h"

paddle/fluid/operators/crf_decoding_op.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#pragma once
16+
#include <limits>
1617
#include "paddle/fluid/framework/eigen.h"
1718
#include "paddle/fluid/framework/op_registry.h"
1819
#include "paddle/fluid/operators/math/math_function.h"

0 commit comments

Comments
 (0)