Browse Source

!6056 remove inline for debug build

Merge pull request !6056 from zhaozhenlong/lite/issue/inline_remove
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
012a4fc428
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/lite/nnacl/strided_slice.c

+ 1
- 1
mindspore/lite/nnacl/strided_slice.c View File

@@ -66,7 +66,7 @@ void ChangeNegToPositive(StridedSliceParameter *param) {
}
}

inline bool LoopContinue(int stride, int i, int end) { return stride > 0 ? i < end : i > end; }
bool LoopContinue(int stride, int i, int end) { return stride > 0 ? i < end : i > end; }

int DoStridedSlice(const void *in_data, void *out_data, StridedSliceParameter *param) {
if (in_data == NULL || out_data == NULL || param == NULL) {


Loading…
Cancel
Save