Browse Source

!8826 header marco fix

From: @zhaozhenlong
Reviewed-by: @zhanghaibo5,@ddwsky
Signed-off-by: @zhanghaibo5
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
7125f1f8c8
4 changed files with 12 additions and 12 deletions
  1. +3
    -3
      mindspore/lite/nnacl/sigmoid_parameter.h
  2. +3
    -3
      mindspore/lite/nnacl/squeeze_parameter.h
  3. +3
    -3
      mindspore/lite/nnacl/strided_slice.h
  4. +3
    -3
      mindspore/lite/nnacl/unsqueeze_parameter.h

+ 3
- 3
mindspore/lite/nnacl/sigmoid_parameter.h View File

@@ -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_

+ 3
- 3
mindspore/lite/nnacl/squeeze_parameter.h View File

@@ -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_

+ 3
- 3
mindspore/lite/nnacl/strided_slice.h View File

@@ -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_

+ 3
- 3
mindspore/lite/nnacl/unsqueeze_parameter.h View File

@@ -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_

Loading…
Cancel
Save