diff --git a/src/operators/kernel/cl/box_coder_kernel.cpp b/src/operators/kernel/cl/box_coder_kernel.cpp index 66d5af548496f4b6e2c51b607cbdc5fd7a5b7026..582f6131bf60f02fb67f0479622123a28e89f713 100644 --- a/src/operators/kernel/cl/box_coder_kernel.cpp +++ b/src/operators/kernel/cl/box_coder_kernel.cpp @@ -17,18 +17,18 @@ limitations under the License. */ #include "operators/kernel/box_coder_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool BoxCoderKernel::Init(BoxCoderParam *param) { - return true; - } +template <> +bool BoxCoderKernel::Init(BoxCoderParam *param) { + return true; +} - template <> - void BoxCoderKernel::Compute(const BoxCoderParam ¶m) { - } +template <> +void BoxCoderKernel::Compute( + const BoxCoderParam ¶m) {} - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif diff --git a/src/operators/kernel/cl/concat_kernel.cpp b/src/operators/kernel/cl/concat_kernel.cpp index 97c996f84d53324b60b1e6075601f301fa5a2391..48fbd03315957f54873e5ee18bc95896ca306554 100644 --- a/src/operators/kernel/cl/concat_kernel.cpp +++ b/src/operators/kernel/cl/concat_kernel.cpp @@ -17,19 +17,17 @@ limitations under the License. */ #include "operators/kernel/concat_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool ConcatKernel::Init(ConcatParam *param) { - return true; - } +template <> +bool ConcatKernel::Init(ConcatParam *param) { + return true; +} - template <> - void ConcatKernel::Compute(const ConcatParam ¶m) { +template <> +void ConcatKernel::Compute(const ConcatParam ¶m) {} - } - - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif diff --git a/src/operators/kernel/cl/conv_bn_relu_kernel.cpp b/src/operators/kernel/cl/conv_bn_relu_kernel.cpp index ab82fc6510ddd9f5d0e8fcbde3089d4e947790d7..be2da60de0bf429656978d696f8c0067b74559ad 100644 --- a/src/operators/kernel/cl/conv_bn_relu_kernel.cpp +++ b/src/operators/kernel/cl/conv_bn_relu_kernel.cpp @@ -17,21 +17,20 @@ limitations under the License. */ #include "operators/kernel/conv_bn_relu_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool ConvBNReluKernel::Init(FusionConvBNReluParam *param) { +template <> +bool ConvBNReluKernel::Init( + FusionConvBNReluParam *param) { + return true; +} - return true; - } +template <> +void ConvBNReluKernel::Compute( + const FusionConvBNReluParam ¶m) {} +template class ConvBNReluKernel; - template <> - void ConvBNReluKernel::Compute( - const FusionConvBNReluParam ¶m) { - } - template class ConvBNReluKernel; - - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif diff --git a/src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp b/src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp index c55d6a1eaa2cdc5480fe7ea73e316b69b4886b9f..48e08d69ec22f128885bb7aa9165e0898ca67b7a 100644 --- a/src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp +++ b/src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp @@ -17,21 +17,20 @@ limitations under the License. */ #include "operators/kernel/dwconv_bn_relu_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool DWConvBNReluKernel::Init(FusionDWConvBNReluParam *param) { +template <> +bool DWConvBNReluKernel::Init( + FusionDWConvBNReluParam *param) { + return true; +} - return true; - } +template <> +void DWConvBNReluKernel::Compute( + const FusionDWConvBNReluParam ¶m) {} +template class DWConvBNReluKernel; - template <> - void DWConvBNReluKernel::Compute( - const FusionDWConvBNReluParam ¶m) { - } - template class DWConvBNReluKernel; - - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif diff --git a/src/operators/kernel/cl/multiclass_nms_kernel.cpp b/src/operators/kernel/cl/multiclass_nms_kernel.cpp index 99ef9e42df12e1a0bed02993a5af2683796b0a18..e7bf02cde4b5562fd17508a29bd2e820f2e668b6 100644 --- a/src/operators/kernel/cl/multiclass_nms_kernel.cpp +++ b/src/operators/kernel/cl/multiclass_nms_kernel.cpp @@ -17,19 +17,19 @@ limitations under the License. */ #include "operators/kernel/multiclass_nms_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool MultiClassNMSKernel::Init(MultiClassNMSParam *param) { - return true; - } +template <> +bool MultiClassNMSKernel::Init( + MultiClassNMSParam *param) { + return true; +} - template <> - void MultiClassNMSKernel::Compute( - const MultiClassNMSParam ¶m) { - } +template <> +void MultiClassNMSKernel::Compute( + const MultiClassNMSParam ¶m) {} - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif diff --git a/src/operators/kernel/cl/prior_box_kernel.cpp b/src/operators/kernel/cl/prior_box_kernel.cpp index 4ec1e08b8c6e493c70c943c1f8def512ee113878..f8d8c51fcaca214e6248b83d9e135670fa28fe94 100644 --- a/src/operators/kernel/cl/prior_box_kernel.cpp +++ b/src/operators/kernel/cl/prior_box_kernel.cpp @@ -17,20 +17,19 @@ limitations under the License. */ #include "operators/kernel/prior_box_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool PriorBoxKernel::Init(PriorBoxParam *param) { - return true; - } +template <> +bool PriorBoxKernel::Init(PriorBoxParam *param) { + return true; +} - template <> - void PriorBoxKernel::Compute(const PriorBoxParam ¶m) { +template <> +void PriorBoxKernel::Compute( + const PriorBoxParam ¶m) {} +template class PriorBoxKernel; - } - template class PriorBoxKernel; - - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif diff --git a/src/operators/kernel/cl/transpose_kernel.cpp b/src/operators/kernel/cl/transpose_kernel.cpp index aaef3ad89968a5dbbd17b330fa75c4be9dfaaf98..3b41753f186967b7dd419fed05201989d45252b6 100644 --- a/src/operators/kernel/cl/transpose_kernel.cpp +++ b/src/operators/kernel/cl/transpose_kernel.cpp @@ -16,18 +16,18 @@ limitations under the License. */ #include "operators/kernel/transpose_kernel.h" namespace paddle_mobile { - namespace operators { +namespace operators { - template <> - bool TransposeKernel::Init(TransposeParam *param) { - return true; - } +template <> +bool TransposeKernel::Init(TransposeParam *param) { + return true; +} - template <> - void TransposeKernel::Compute(const TransposeParam ¶m) { - } +template <> +void TransposeKernel::Compute( + const TransposeParam ¶m) {} - } // namespace operators +} // namespace operators } // namespace paddle_mobile #endif