Browse Source

!8465 [MSLITE] mnet full quant bug, perchannel inputsum bug

From: @ling_qiao_min
Reviewed-by: @HilbertDavid,@hangangqiang
Signed-off-by: @HilbertDavid
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
484108b823
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      mindspore/lite/nnacl/assembly/arm64/PreSum4x16Int8Peroc.S
  2. +2
    -2
      mindspore/lite/nnacl/int8/conv_int8.c

+ 2
- 2
mindspore/lite/nnacl/assembly/arm64/PreSum4x16Int8Peroc.S View File

@@ -104,11 +104,11 @@ OcRes4_1:
b OcRes4End

OcRes4_2:
ld1 {v15.h}[0], [x16]
ld1 {v15.d}[0], [x16]
b OcRes4End

OcRes4_3:
ld1 {v15.h}[0], [x16]
ld1 {v15.d}[0], [x16]
add x16, x16, #8
ld1 {v15.s}[2], [x16]
b OcRes4End


+ 2
- 2
mindspore/lite/nnacl/int8/conv_int8.c View File

@@ -406,12 +406,12 @@ void Conv1x1PreOptPeroc(const int8_t *src_input, int8_t *packed_input, int32_t *

"14: \n"
"ld1 {v16.4s}, [x10], #16\n"
"ld1 {v17.h}[0], [x10] \n"
"ld1 {v17.d}[0], [x10] \n"
"b 16f \n"

"15: \n"
"ld1 {v16.4s}, [x10], #16\n"
"ld1 {v17.h}[0], [x10] \n"
"ld1 {v17.d}[0], [x10] \n"
"add x10, x10, #8 \n"
"ld1 {v17.s}[2], [x10] \n"
"b 16f \n"


Loading…
Cancel
Save