Skip to content

Commit 8877054

Browse files
committed
resolve conflicts with the develop branch test=release/1.4
(cherry picked from commit bddb2cd)
1 parent 76b49f0 commit 8877054

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+136
-82
lines changed

cmake/external/protobuf.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
201201
SET(OPTIONAL_ARGS ${OPTIONAL_ARGS} "-DCMAKE_GENERATOR_PLATFORM=x64")
202202
ENDIF()
203203

204-
SET(PROTOBUF_REPO "https://github.com/google/protobuf.git")
204+
SET(PROTOBUF_REPO "https://github.com/protocolbuffers/protobuf.git")
205205
SET(PROTOBUF_TAG "9f75c5aa851cd877fb0d93ccc31b8567a6706546")
206206

207207
ExternalProject_Add(

paddle/fluid/inference/anakin/convert/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
cc_library(anakin_op_converter SRCS fc.cc conv2d.cc conv2d_fusion.cc
2-
elementwise.cc activation.cc pool2d.cc concat.cc split.cc relu.cc softmax.cc batch_norm.cc reshape.cc flatten.cc transpose.cc density_prior_box.cc detection_out.cc scale.cc dropout.cc im2sequence.cc sum.cc DEPS anakin_engine framework_proto scope op_registry)
1+
cc_library(anakin_op_converter SRCS fc.cc conv2d.cc conv2d_fusion.cc elementwise.cc activation.cc pool2d.cc concat.cc split.cc relu.cc softmax.cc batch_norm.cc reshape.cc flatten.cc transpose.cc density_prior_box.cc detection_out.cc scale.cc dropout.cc im2sequence.cc sum.cc DEPS anakin_engine framework_proto scope op_registry)
32

43
cc_test(test_anakin_fc SRCS test_fc_op.cc DEPS anakin_op_converter mul_op SERIAL)
54
cc_test(test_anakin_conv2d SRCS test_conv2d_op.cc DEPS anakin_op_converter conv_op im2col vol2col depthwise_conv SERIAL)

paddle/fluid/inference/anakin/convert/activation.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ActivationOpConverter::ActivationOpConverter(const std::string &op_type)
3434
}
3535

3636
void ActivationOpConverter::operator()(const framework::proto::OpDesc &op,
37+
const framework::BlockDesc &block_desc,
3738
const framework::Scope &scope,
3839
bool test_mode) {
3940
framework::OpDesc op_desc(op, nullptr);

paddle/fluid/inference/anakin/convert/activation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class ActivationOpConverter : public AnakinOpConverter {
2727
explicit ActivationOpConverter(const std::string &op_type);
2828

2929
virtual void operator()(const framework::proto::OpDesc &op,
30+
const framework::BlockDesc &block_desc,
3031
const framework::Scope &scope,
3132
bool test_mode) override;
3233
virtual ~ActivationOpConverter() {}

paddle/fluid/inference/anakin/convert/batch_norm.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace inference {
2929
namespace anakin {
3030

3131
void BatchNormOpConverter::operator()(const framework::proto::OpDesc &op,
32+
const framework::BlockDesc &block_desc,
3233
const framework::Scope &scope,
3334
bool test_mode) {
3435
framework::OpDesc op_desc(op, nullptr);

paddle/fluid/inference/anakin/convert/batch_norm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class BatchNormOpConverter : public AnakinOpConverter {
2525
BatchNormOpConverter() = default;
2626

2727
virtual void operator()(const framework::proto::OpDesc &op,
28+
const framework::BlockDesc &block_desc,
2829
const framework::Scope &scope,
2930
bool test_mode) override;
3031
virtual ~BatchNormOpConverter() {}

paddle/fluid/inference/anakin/convert/concat.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ namespace inference {
2929
namespace anakin {
3030

3131
void ConcatOpConverter::operator()(const framework::proto::OpDesc &op,
32+
const framework::BlockDesc &block_desc,
3233
const framework::Scope &scope,
3334
bool test_mode) {
3435
framework::OpDesc op_desc(op, nullptr);

paddle/fluid/inference/anakin/convert/concat.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class ConcatOpConverter : public AnakinOpConverter {
2525
ConcatOpConverter() = default;
2626

2727
virtual void operator()(const framework::proto::OpDesc &op,
28+
const framework::BlockDesc &block_desc,
2829
const framework::Scope &scope,
2930
bool test_mode) override;
3031
virtual ~ConcatOpConverter() {}

paddle/fluid/inference/anakin/convert/conv2d.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace inference {
2828
namespace anakin {
2929

3030
void Conv2dOpConverter::operator()(const framework::proto::OpDesc &op,
31+
const framework::BlockDesc &block_desc,
3132
const framework::Scope &scope,
3233
bool test_mode) {
3334
framework::OpDesc op_desc(op, nullptr);

paddle/fluid/inference/anakin/convert/conv2d.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Conv2dOpConverter : public AnakinOpConverter {
2525
Conv2dOpConverter() = default;
2626

2727
virtual void operator()(const framework::proto::OpDesc &op,
28+
const framework::BlockDesc &block_desc,
2829
const framework::Scope &scope,
2930
bool test_mode) override;
3031
virtual ~Conv2dOpConverter() {}

0 commit comments

Comments
 (0)