forked from mindspore-Ecosystem/mindspore
!5746 [MS][LITE][GPU]GPU CI: add OCR02 and OCR08
Merge pull request !5746 from chenzupeng/master-lite
This commit is contained in:
commit
349356d8d7
|
@ -58,10 +58,10 @@ __kernel void transpose_NHWC4_BUF(__read_only image2d_t src_data, global FLT4 *d
|
|||
bool over_size = W * C.y > 65535;
|
||||
FLT4 x0, x1, x2, x3;
|
||||
if (over_size) {
|
||||
x0 = READ_IMAGE(src_data, smp_zero, (int2)(C, 4 * X));
|
||||
x1 = READ_IMAGE(src_data, smp_zero, (int2)(C, 4 * X + 1));
|
||||
x2 = READ_IMAGE(src_data, smp_zero, (int2)(C, 4 * X + 2));
|
||||
x3 = READ_IMAGE(src_data, smp_zero, (int2)(C, 4 * X + 3));
|
||||
x0 = READ_IMAGE(src_data, smp_zero, (int2)(Y, 4 * X));
|
||||
x1 = READ_IMAGE(src_data, smp_zero, (int2)(Y, 4 * X + 1));
|
||||
x2 = READ_IMAGE(src_data, smp_zero, (int2)(Y, 4 * X + 2));
|
||||
x3 = READ_IMAGE(src_data, smp_zero, (int2)(Y, 4 * X + 3));
|
||||
} else {
|
||||
x0 = READ_IMAGE(src_data, smp_zero, (int2)((4 * X) % W * C.y + Y, (4 * X) / W));
|
||||
x1 = READ_IMAGE(src_data, smp_zero, (int2)((4 * X + 1) % W * C.y + Y, (4 * X + 1) / W));
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
mobilenet_v1_1.0_224.tflite
|
||||
mobilenet_v2_1.0_224.tflite
|
||||
resnet.tflite
|
||||
resnet.tflite
|
||||
hiai_cn_recognize_modify_padv2.tflite
|
||||
hiai_cv_focusShootOCRModel_08.tflite
|
||||
|
|
Loading…
Reference in New Issue