From bd222f84e91e7f1156a2b715d67eeddca50c9331 Mon Sep 17 00:00:00 2001 From: Liangliang He Date: Thu, 1 Mar 2018 11:39:55 +0800 Subject: [PATCH] Fix comment format --- mace/core/mace.cc | 2 +- mace/kernels/bias_add.h | 2 +- mace/kernels/buffer_to_image.h | 2 +- mace/kernels/concat.h | 2 +- mace/kernels/neon/conv_2d_neon_5x5.cc | 2 +- mace/kernels/opencl/concat.cc | 2 +- mace/kernels/opencl/helper.h | 4 ++-- mace/kernels/opencl/space_to_batch_opencl.cc | 6 +++--- mace/kernels/softmax.h | 2 +- mace/ops/batch_norm.h | 2 +- mace/ops/bias_add.h | 2 +- mace/ops/concat.h | 2 +- mace/ops/eltwise.h | 2 +- mace/ops/folded_batch_norm.h | 2 +- mace/ops/image_to_buffer.h | 4 ++-- mace/ops/ops_test_util.h | 2 +- mace/ops/reshape.h | 2 +- mace/ops/softmax.h | 2 +- mace/utils/tuner.h | 2 +- mace/utils/tuner_test.cc | 2 +- mace/utils/utils.h | 2 +- mace/utils/utils_test.cc | 2 +- 22 files changed, 26 insertions(+), 26 deletions(-) diff --git a/mace/core/mace.cc b/mace/core/mace.cc index 3e0d642f..81e26246 100644 --- a/mace/core/mace.cc +++ b/mace/core/mace.cc @@ -598,4 +598,4 @@ bool MaceEngine::Run(const float *input, } } -} // namespace mace +} // namespace mace diff --git a/mace/kernels/bias_add.h b/mace/kernels/bias_add.h index ce92806e..f763bac5 100644 --- a/mace/kernels/bias_add.h +++ b/mace/kernels/bias_add.h @@ -69,4 +69,4 @@ struct BiasAddFunctor { } // namepsace kernels } // namespace mace -#endif // MACE_KERNELS_BIAS_ADD_H_ +#endif // MACE_KERNELS_BIAS_ADD_H_ diff --git a/mace/kernels/buffer_to_image.h b/mace/kernels/buffer_to_image.h index f3690eb1..9b870054 100644 --- a/mace/kernels/buffer_to_image.h +++ b/mace/kernels/buffer_to_image.h @@ -42,4 +42,4 @@ struct BufferToImageFunctor : BufferToImageFunctorBase{ } // namepsace kernels } // namespace mace -#endif // MACE_KERNELS_BUFFER_TO_IMAGE_H_ +#endif // MACE_KERNELS_BUFFER_TO_IMAGE_H_ diff --git a/mace/kernels/concat.h b/mace/kernels/concat.h index 17ba7c69..64b683d6 100644 --- a/mace/kernels/concat.h +++ b/mace/kernels/concat.h @@ -88,4 +88,4 @@ struct ConcatFunctor : ConcatFunctorBase{ } // namepsace kernels } // namespace mace -#endif // MACE_KERNELS_CONCAT_H_ +#endif // MACE_KERNELS_CONCAT_H_ diff --git a/mace/kernels/neon/conv_2d_neon_5x5.cc b/mace/kernels/neon/conv_2d_neon_5x5.cc index ab50156f..88091925 100644 --- a/mace/kernels/neon/conv_2d_neon_5x5.cc +++ b/mace/kernels/neon/conv_2d_neon_5x5.cc @@ -416,4 +416,4 @@ void Conv2dNeonK5x5S1(const float *input, // NCHW } // namespace kernels } // namespace mace -#endif // MACE_KERNELS_NEON_CONV_2D_NEON_5X5_H_ +#endif // MACE_KERNELS_NEON_CONV_2D_NEON_5X5_H_ diff --git a/mace/kernels/opencl/concat.cc b/mace/kernels/opencl/concat.cc index b1712d14..beb6fefc 100644 --- a/mace/kernels/opencl/concat.cc +++ b/mace/kernels/opencl/concat.cc @@ -106,4 +106,4 @@ template struct ConcatFunctor; } // namespace kernels -} // namespace mace +} // namespace mace diff --git a/mace/kernels/opencl/helper.h b/mace/kernels/opencl/helper.h index cc68466f..36e9827f 100644 --- a/mace/kernels/opencl/helper.h +++ b/mace/kernels/opencl/helper.h @@ -95,5 +95,5 @@ std::string Concat(Args... args) { } } // namespace kernels -} // namespace mace -#endif // MACE_KERNELS_OPENCL_HELPER_H_ +} // namespace mace +#endif // MACE_KERNELS_OPENCL_HELPER_H_ diff --git a/mace/kernels/opencl/space_to_batch_opencl.cc b/mace/kernels/opencl/space_to_batch_opencl.cc index 09219e6f..5940f4d3 100644 --- a/mace/kernels/opencl/space_to_batch_opencl.cc +++ b/mace/kernels/opencl/space_to_batch_opencl.cc @@ -75,6 +75,6 @@ void SpaceToBatchFunctor::operator()(Tensor *space_tensor template struct SpaceToBatchFunctor; template struct SpaceToBatchFunctor; -} // namespace kernels -} // namespace mace -#endif // MACE_KERNELS_OPENCL_SPACE_TO_BATCH_H_ +} // namespace kernels +} // namespace mace +#endif // MACE_KERNELS_OPENCL_SPACE_TO_BATCH_H_ diff --git a/mace/kernels/softmax.h b/mace/kernels/softmax.h index f95d84b3..fa17ac07 100644 --- a/mace/kernels/softmax.h +++ b/mace/kernels/softmax.h @@ -62,4 +62,4 @@ struct SoftmaxFunctor { } // namepsace kernels } // namespace mace -#endif // MACE_KERNELS_SOFTMAX_H_ +#endif // MACE_KERNELS_SOFTMAX_H_ diff --git a/mace/ops/batch_norm.h b/mace/ops/batch_norm.h index a3a0c136..6fc74082 100644 --- a/mace/ops/batch_norm.h +++ b/mace/ops/batch_norm.h @@ -57,4 +57,4 @@ class BatchNormOp : public Operator { } // namespace mace -#endif // MACE_OPS_BATCH_NORM_H_ +#endif // MACE_OPS_BATCH_NORM_H_ diff --git a/mace/ops/bias_add.h b/mace/ops/bias_add.h index 0088bfbd..897e45dd 100644 --- a/mace/ops/bias_add.h +++ b/mace/ops/bias_add.h @@ -42,4 +42,4 @@ class BiasAddOp : public Operator { } // namespace mace -#endif // MACE_BIAS_ADD_H_ +#endif // MACE_BIAS_ADD_H_ diff --git a/mace/ops/concat.h b/mace/ops/concat.h index 4105722d..bc7f9a8a 100644 --- a/mace/ops/concat.h +++ b/mace/ops/concat.h @@ -42,4 +42,4 @@ class ConcatOp : public Operator { } // namespace mace -#endif // MACE_OPS_CONCAT_H_ +#endif // MACE_OPS_CONCAT_H_ diff --git a/mace/ops/eltwise.h b/mace/ops/eltwise.h index 7d8e63ee..5d2b3d01 100644 --- a/mace/ops/eltwise.h +++ b/mace/ops/eltwise.h @@ -44,4 +44,4 @@ class EltwiseOp : public Operator { } // namespace mace -#endif // MACE_OPS_RESHAPE_H_ +#endif // MACE_OPS_RESHAPE_H_ diff --git a/mace/ops/folded_batch_norm.h b/mace/ops/folded_batch_norm.h index 7e7c7e5d..23c5835f 100644 --- a/mace/ops/folded_batch_norm.h +++ b/mace/ops/folded_batch_norm.h @@ -51,4 +51,4 @@ class FoldedBatchNormOp : public Operator { } // namespace mace -#endif // MACE_OPS_FOLDED_BATCH_NORM_H_ +#endif // MACE_OPS_FOLDED_BATCH_NORM_H_ diff --git a/mace/ops/image_to_buffer.h b/mace/ops/image_to_buffer.h index 777919d4..ab4cc5ed 100644 --- a/mace/ops/image_to_buffer.h +++ b/mace/ops/image_to_buffer.h @@ -34,5 +34,5 @@ class ImageToBufferOp: public Operator { OP_OUTPUT_TAGS(OUTPUT); }; -} // namespace mace -#endif // MACE_OPS_IMAGE_TO_BUFFER_H_ +} // namespace mace +#endif // MACE_OPS_IMAGE_TO_BUFFER_H_ diff --git a/mace/ops/ops_test_util.h b/mace/ops/ops_test_util.h index e606c3a3..15aa3bc9 100644 --- a/mace/ops/ops_test_util.h +++ b/mace/ops/ops_test_util.h @@ -405,4 +405,4 @@ void ImageToBuffer(OpsTestNet &net, } // namespace mace -#endif // MACE_OPS_TEST_UTIL_H_ +#endif // MACE_OPS_TEST_UTIL_H_ diff --git a/mace/ops/reshape.h b/mace/ops/reshape.h index 83f2cb60..232a2f02 100644 --- a/mace/ops/reshape.h +++ b/mace/ops/reshape.h @@ -61,4 +61,4 @@ class ReshapeOp : public Operator { } // namespace mace -#endif // MACE_OPS_RESHAPE_H_ +#endif // MACE_OPS_RESHAPE_H_ diff --git a/mace/ops/softmax.h b/mace/ops/softmax.h index 26914c69..1345d55b 100644 --- a/mace/ops/softmax.h +++ b/mace/ops/softmax.h @@ -37,4 +37,4 @@ class SoftmaxOp : public Operator { } // namespace mace -#endif // MACE_SOFTMAX_H_ +#endif // MACE_SOFTMAX_H_ diff --git a/mace/utils/tuner.h b/mace/utils/tuner.h index 184bec7b..de811907 100644 --- a/mace/utils/tuner.h +++ b/mace/utils/tuner.h @@ -181,4 +181,4 @@ class Tuner { }; } // namespace mace -#endif // MACE_UTILS_TUNER_H_ +#endif // MACE_UTILS_TUNER_H_ diff --git a/mace/utils/tuner_test.cc b/mace/utils/tuner_test.cc index 0e57e929..6cd54c9f 100644 --- a/mace/utils/tuner_test.cc +++ b/mace/utils/tuner_test.cc @@ -81,4 +81,4 @@ TEST_F(TunerTest, SimpleTune) { EXPECT_EQ(expect, res); } -} // namespace mace +} // namespace mace diff --git a/mace/utils/utils.h b/mace/utils/utils.h index fe30b9eb..6169d6f4 100644 --- a/mace/utils/utils.h +++ b/mace/utils/utils.h @@ -95,4 +95,4 @@ inline std::string ObfuscateSymbol(const std::string &src) { #endif } // namespace mace -#endif // MACE_UTILS_UTILS_H_ +#endif // MACE_UTILS_UTILS_H_ diff --git a/mace/utils/utils_test.cc b/mace/utils/utils_test.cc index 0e57e929..6cd54c9f 100644 --- a/mace/utils/utils_test.cc +++ b/mace/utils/utils_test.cc @@ -81,4 +81,4 @@ TEST_F(TunerTest, SimpleTune) { EXPECT_EQ(expect, res); } -} // namespace mace +} // namespace mace -- GitLab