From 1b4ae551d68f4440f7f5e05df9c4017f12b003a8 Mon Sep 17 00:00:00 2001 From: liuruilong Date: Thu, 7 Jun 2018 12:43:10 +0800 Subject: [PATCH] format files --- src/framework/operator.h | 2 +- src/operators/batchnorm_op.h | 2 +- src/operators/box_coder_op.h | 2 +- src/operators/concat_op.h | 2 +- src/operators/elementwise_add_op.h | 2 +- src/operators/fusion_conv_add.h | 2 +- src/operators/fusion_fc_op.h | 2 +- src/operators/lrn_op.h | 2 +- src/operators/mul_op.h | 2 +- src/operators/multiclass_nms_op.h | 2 +- src/operators/prior_box_op.h | 2 +- src/operators/relu_op.h | 2 +- src/operators/reshape_op.h | 2 +- src/operators/transpose_op.h | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/framework/operator.h b/src/framework/operator.h index d9b74e8887..26bcf9a784 100644 --- a/src/framework/operator.h +++ b/src/framework/operator.h @@ -135,7 +135,7 @@ class OpKernelBase { const ::paddle_mobile::VariableNameMap &outputs, \ const ::paddle_mobile::framework::AttributeMap &attrs, \ std::shared_ptr<::paddle_mobile::framework::Scope> scope) \ - : parent_cls(type, inputs, outputs, attrs, scope) {} + : parent_cls(type, inputs, outputs, attrs, scope){} class FusionOpMatcher { public: diff --git a/src/operators/batchnorm_op.h b/src/operators/batchnorm_op.h index 671b2f09f6..ea774662ab 100644 --- a/src/operators/batchnorm_op.h +++ b/src/operators/batchnorm_op.h @@ -29,7 +29,7 @@ class BatchNormOp : public framework::OperatorWithKernel { public: BatchNormOp(const string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/box_coder_op.h b/src/operators/box_coder_op.h index 2d3cd0d8ea..001ef20023 100644 --- a/src/operators/box_coder_op.h +++ b/src/operators/box_coder_op.h @@ -32,7 +32,7 @@ class BoxCoderOp : public framework::OperatorWithKernel { public: BoxCoderOp(const std::string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/concat_op.h b/src/operators/concat_op.h index ad2db52a0b..fff704e4d8 100644 --- a/src/operators/concat_op.h +++ b/src/operators/concat_op.h @@ -27,7 +27,7 @@ template class ConcatOp : public framework::OperatorWithKernel { public: ConcatOp(const string &type, const VariableNameMap &inputs, - const VariableNameMap &outputs, const framework::AttributeMap attrs, + const VariableNameMap &outputs, const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/elementwise_add_op.h b/src/operators/elementwise_add_op.h index 727d569fb3..62034b14ed 100644 --- a/src/operators/elementwise_add_op.h +++ b/src/operators/elementwise_add_op.h @@ -29,7 +29,7 @@ class ElementwiseAddOp : public framework::OperatorWithKernel { public: ElementwiseAddOp(const string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/fusion_conv_add.h b/src/operators/fusion_conv_add.h index 911df63dd4..1e6a84b1dc 100644 --- a/src/operators/fusion_conv_add.h +++ b/src/operators/fusion_conv_add.h @@ -50,7 +50,7 @@ class FushionConvAddOp : public framework::OperatorWithKernel { public: FushionConvAddOp(const string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope) {} diff --git a/src/operators/fusion_fc_op.h b/src/operators/fusion_fc_op.h index c5419de9ff..e5c5c04f69 100644 --- a/src/operators/fusion_fc_op.h +++ b/src/operators/fusion_fc_op.h @@ -51,7 +51,7 @@ class FushionFcOp : public framework::OperatorWithKernel { public: FushionFcOp(const string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/lrn_op.h b/src/operators/lrn_op.h index 931c6b4ab0..c0f7abba0b 100644 --- a/src/operators/lrn_op.h +++ b/src/operators/lrn_op.h @@ -28,7 +28,7 @@ template class LrnOp : public framework::OperatorWithKernel { public: LrnOp(const string &type, const VariableNameMap &inputs, - const VariableNameMap &outputs, const framework::AttributeMap attrs, + const VariableNameMap &outputs, const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/mul_op.h b/src/operators/mul_op.h index 85c6c80b92..5ecf6571ae 100644 --- a/src/operators/mul_op.h +++ b/src/operators/mul_op.h @@ -28,7 +28,7 @@ template class MulOp : public framework::OperatorWithKernel { public: MulOp(const std::string &type, const VariableNameMap &inputs, - const VariableNameMap &outputs, const framework::AttributeMap attrs, + const VariableNameMap &outputs, const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/multiclass_nms_op.h b/src/operators/multiclass_nms_op.h index 78d6ec3120..37f3742524 100644 --- a/src/operators/multiclass_nms_op.h +++ b/src/operators/multiclass_nms_op.h @@ -32,7 +32,7 @@ class MultiClassNMSOp : public framework::OperatorWithKernel { public: MultiClassNMSOp(const std::string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/prior_box_op.h b/src/operators/prior_box_op.h index 55080f3c5a..e3de58b372 100644 --- a/src/operators/prior_box_op.h +++ b/src/operators/prior_box_op.h @@ -32,7 +32,7 @@ class PriorBoxOp : public framework::OperatorWithKernel { public: PriorBoxOp(const std::string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/relu_op.h b/src/operators/relu_op.h index e52ef5edd2..f032546c82 100644 --- a/src/operators/relu_op.h +++ b/src/operators/relu_op.h @@ -34,7 +34,7 @@ class ReluOp : public framework::OperatorWithKernel { * @b op 的实例化方法, 需要调用父类的实例化方法, 以及实例化自己的参数结构体 * */ ReluOp(const std::string &type, const VariableNameMap &inputs, - const VariableNameMap &outputs, const framework::AttributeMap attrs, + const VariableNameMap &outputs, const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/reshape_op.h b/src/operators/reshape_op.h index ce106125cb..6f757f2bc5 100644 --- a/src/operators/reshape_op.h +++ b/src/operators/reshape_op.h @@ -31,7 +31,7 @@ template class ReshapeOp : public framework::OperatorWithKernel { public: ReshapeOp(const std::string &type, const VariableNameMap &inputs, - const VariableNameMap &outputs, const framework::AttributeMap attrs, + const VariableNameMap &outputs, const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), diff --git a/src/operators/transpose_op.h b/src/operators/transpose_op.h index 728c6991c0..f65a725756 100644 --- a/src/operators/transpose_op.h +++ b/src/operators/transpose_op.h @@ -32,7 +32,7 @@ class TransposeOp : public framework::OperatorWithKernel { public: TransposeOp(const std::string &type, const VariableNameMap &inputs, const VariableNameMap &outputs, - const framework::AttributeMap attrs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope), -- GitLab