aboutsummaryrefslogtreecommitdiff
path: root/frameworks
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-08-15 13:19:11 +0100
committerJames Ward <james.ward@arm.com>2022-08-19 14:24:30 +0100
commit8fd51f1923554002cda63fc88e8ea013ff5c5512 (patch)
tree8b7a7f00f93c87a60d3c9b80aedc812e1a130f3a /frameworks
parent23ede7b7ad1a173e4c66b1ba18a481adef4aa585 (diff)
downloadconformance_tests-8fd51f1923554002cda63fc88e8ea013ff5c5512.tar.gz
Regenerate conformance tests for new RESIZE
Change-Id: I325ca19b41a58c222679d3814e5bacff77614fa9 Signed-off-by: James Ward <james.ward@arm.com> Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Diffstat (limited to 'frameworks')
-rw-r--r--frameworks/framework_compilation.manifest8
-rw-r--r--frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json29
-rw-r--r--frameworks/tflite/operators/resize_bilinear_1x4x4x4_qi8/test_resize_bilinear_1x4x4x4_qi8.json29
-rw-r--r--frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json27
-rw-r--r--frameworks/tflite/operators/resize_nearest_neighbor_1x8x4x17_qi8/test_resize_nearest_1x8x4x17_qi8.json27
5 files changed, 46 insertions, 74 deletions
diff --git a/frameworks/framework_compilation.manifest b/frameworks/framework_compilation.manifest
index 5f865b556..0a3367cd9 100644
--- a/frameworks/framework_compilation.manifest
+++ b/frameworks/framework_compilation.manifest
@@ -1,4 +1,4 @@
-tensorflow: 2.9.1.dev27+g5047f9792a6
-reference_model: 0.30.1.dev5+g8858862
-serialization_lib: 0.30.1.dev2+g4417b42
-tosa_mlir_translator: 0.30.1.dev1+g9e3bea5
+tensorflow: 2.9.1.dev29+g7c6f3ddc9ce
+reference_model: 0.30.1.dev11+g3c59d5d
+serialization_lib: 0.30.1.dev3+g49b1ca6
+tosa_mlir_translator: 0.30.1.dev2+gd13f5e6
diff --git a/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json b/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json
index 2eed0d896..6098ff60d 100644
--- a/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json
+++ b/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json
@@ -13,26 +13,19 @@
op: "RESIZE",
attribute_type: "ResizeAttribute",
attribute: {
- output_size: [
- 64,
- 64
- ],
- stride: [
- 512,
- 512
+ scale: [
+ 4,
+ 2,
+ 4,
+ 2
],
offset: [
- -256,
- -256
- ],
- shift: 10,
- stride_fp: [
- 0.0,
- 0.0
+ -1,
+ -1
],
- offset_fp: [
- 0.0,
- 0.0
+ border: [
+ 1,
+ 1
],
mode: "BILINEAR"
},
@@ -53,7 +46,7 @@
16384
],
shift: [
- 34
+ 18
],
scale32: false,
double_round: false,
diff --git a/frameworks/tflite/operators/resize_bilinear_1x4x4x4_qi8/test_resize_bilinear_1x4x4x4_qi8.json b/frameworks/tflite/operators/resize_bilinear_1x4x4x4_qi8/test_resize_bilinear_1x4x4x4_qi8.json
index d1528e4b5..d92b88b4d 100644
--- a/frameworks/tflite/operators/resize_bilinear_1x4x4x4_qi8/test_resize_bilinear_1x4x4x4_qi8.json
+++ b/frameworks/tflite/operators/resize_bilinear_1x4x4x4_qi8/test_resize_bilinear_1x4x4x4_qi8.json
@@ -13,26 +13,19 @@
op: "RESIZE",
attribute_type: "ResizeAttribute",
attribute: {
- output_size: [
- 8,
- 8
- ],
- stride: [
- 512,
- 512
+ scale: [
+ 4,
+ 2,
+ 4,
+ 2
],
offset: [
- -256,
- -256
- ],
- shift: 10,
- stride_fp: [
- 0.0,
- 0.0
+ -1,
+ -1
],
- offset_fp: [
- 0.0,
- 0.0
+ border: [
+ 1,
+ 1
],
mode: "BILINEAR"
},
@@ -53,7 +46,7 @@
1073741824
],
shift: [
- 50
+ 34
],
scale32: true,
double_round: false,
diff --git a/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json b/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json
index 40f64fefe..01d8ffad8 100644
--- a/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json
+++ b/frameworks/tflite/operators/resize_nearest_neighbor_1x4x8x19_qu8/test_resize_nearest_1x4x8x19_qu8.json
@@ -59,26 +59,19 @@
op: "RESIZE",
attribute_type: "ResizeAttribute",
attribute: {
- output_size: [
- 8,
- 16
- ],
- stride: [
- 512,
- 512
+ scale: [
+ 4,
+ 2,
+ 4,
+ 2
],
offset: [
- -256,
- -256
- ],
- shift: 10,
- stride_fp: [
- 0.0,
- 0.0
+ -1,
+ -1
],
- offset_fp: [
- 0.0,
- 0.0
+ border: [
+ 1,
+ 1
],
mode: "NEAREST"
},
diff --git a/frameworks/tflite/operators/resize_nearest_neighbor_1x8x4x17_qi8/test_resize_nearest_1x8x4x17_qi8.json b/frameworks/tflite/operators/resize_nearest_neighbor_1x8x4x17_qi8/test_resize_nearest_1x8x4x17_qi8.json
index 850216656..f8f693398 100644
--- a/frameworks/tflite/operators/resize_nearest_neighbor_1x8x4x17_qi8/test_resize_nearest_1x8x4x17_qi8.json
+++ b/frameworks/tflite/operators/resize_nearest_neighbor_1x8x4x17_qi8/test_resize_nearest_1x8x4x17_qi8.json
@@ -13,26 +13,19 @@
op: "RESIZE",
attribute_type: "ResizeAttribute",
attribute: {
- output_size: [
- 16,
- 8
- ],
- stride: [
- 512,
- 512
+ scale: [
+ 4,
+ 2,
+ 4,
+ 2
],
offset: [
- -256,
- -256
- ],
- shift: 10,
- stride_fp: [
- 0.0,
- 0.0
+ -1,
+ -1
],
- offset_fp: [
- 0.0,
- 0.0
+ border: [
+ 1,
+ 1
],
mode: "NEAREST"
},