From 6ac3667e166242cd158d0898acd2dd31b003ec9f Mon Sep 17 00:00:00 2001 From: zhaozhenlong Date: Fri, 20 Nov 2020 10:59:39 +0800 Subject: [PATCH] fix code review --- mindspore/lite/nnacl/sigmoid_parameter.h | 6 +++--- mindspore/lite/nnacl/squeeze_parameter.h | 6 +++--- mindspore/lite/nnacl/strided_slice.h | 6 +++--- mindspore/lite/nnacl/unsqueeze_parameter.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mindspore/lite/nnacl/sigmoid_parameter.h b/mindspore/lite/nnacl/sigmoid_parameter.h index 0b29da145e..8be4c931db 100644 --- a/mindspore/lite/nnacl/sigmoid_parameter.h +++ b/mindspore/lite/nnacl/sigmoid_parameter.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SIGMOID_PARAMETER_H_ -#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SIGMOID_PARAMETER_H_ +#ifndef MINDSPORE_LITE_NNACL_SIGMOID_PARAMETER_H_ +#define MINDSPORE_LITE_NNACL_SIGMOID_PARAMETER_H_ #include "nnacl/op_base.h" #define SIGMOID_OFFSET_MAX_SIZE 4 @@ -34,4 +34,4 @@ typedef struct SigmoidParameter { int element_num; } SigmoidParameter; -#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SIGMOID_PARAMETER_H_ +#endif // MINDSPORE_LITE_NNACL_SIGMOID_PARAMETER_H_ diff --git a/mindspore/lite/nnacl/squeeze_parameter.h b/mindspore/lite/nnacl/squeeze_parameter.h index b25922fa3d..a838537d33 100644 --- a/mindspore/lite/nnacl/squeeze_parameter.h +++ b/mindspore/lite/nnacl/squeeze_parameter.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SQUEEZE_PARAMETER_H_ -#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SQUEEZE_PARAMETER_H_ +#ifndef MINDSPORE_LITE_NNACL_SQUEEZE_PARAMETER_H_ +#define MINDSPORE_LITE_NNACL_SQUEEZE_PARAMETER_H_ #include "nnacl/op_base.h" #include "nnacl/quantization/quantize.h" @@ -35,4 +35,4 @@ typedef struct SqueezeParameter { int input_dim_; } SqueezeParameter; -#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SQUEEZE_PARAMETER_H_ +#endif // MINDSPORE_LITE_NNACL_SQUEEZE_PARAMETER_H_ diff --git a/mindspore/lite/nnacl/strided_slice.h b/mindspore/lite/nnacl/strided_slice.h index f7b88e6201..ddf0c86ed8 100644 --- a/mindspore/lite/nnacl/strided_slice.h +++ b/mindspore/lite/nnacl/strided_slice.h @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_BACKEND_ARM_NNACL_STRIDED_SLICE_H_ -#define MINDSPORE_LITE_SRC_BACKEND_ARM_NNACL_STRIDED_SLICE_H_ +#ifndef MINDSPORE_LITE_NNACL_STRIDED_SLICE_H_ +#define MINDSPORE_LITE_NNACL_STRIDED_SLICE_H_ #include "nnacl/op_base.h" @@ -38,4 +38,4 @@ int DoStridedSlice(const void *inputs, void *output, StridedSliceParameter *para } #endif -#endif // MINDSPORE_LITE_SRC_BACKEND_ARM_NNACL_STRIDED_SLICE_H_ +#endif // MINDSPORE_LITE_NNACL_STRIDED_SLICE_H_ diff --git a/mindspore/lite/nnacl/unsqueeze_parameter.h b/mindspore/lite/nnacl/unsqueeze_parameter.h index c1b6c1725c..275662e735 100644 --- a/mindspore/lite/nnacl/unsqueeze_parameter.h +++ b/mindspore/lite/nnacl/unsqueeze_parameter.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_UNSQUEEZE_PARAMETER_H_ -#define MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_UNSQUEEZE_PARAMETER_H_ +#ifndef MINDSPORE_LITE_NNACL_UNSQUEEZE_PARAMETER_H_ +#define MINDSPORE_LITE_NNACL_UNSQUEEZE_PARAMETER_H_ #include "nnacl/op_base.h" #include "nnacl/quantization/quantize.h" @@ -35,4 +35,4 @@ typedef struct UnSqueezeParameter { int input_dim_; } UnSqueezeParameter; -#endif // MINDSPORE_LITE_SRC_RUNTIME_KERNEL_ARM_OPCLIB_SQUEEZE_PARAMETER_H_ +#endif // MINDSPORE_LITE_NNACL_UNSQUEEZE_PARAMETER_H_