aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/strided_slice_14x19_i32_perm1
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/strided_slice_14x19_i32_perm1')
-rw-r--r--frameworks/tflite/operators/strided_slice_14x19_i32_perm1/Conformance-TosaOutput_0.json11
-rw-r--r--frameworks/tflite/operators/strided_slice_14x19_i32_perm1/desc.json19
-rw-r--r--frameworks/tflite/operators/strided_slice_14x19_i32_perm1/model-tflite.json293
-rw-r--r--frameworks/tflite/operators/strided_slice_14x19_i32_perm1/placeholder_0.json299
-rw-r--r--frameworks/tflite/operators/strided_slice_14x19_i32_perm1/test_strided_slice_14x19_i32_perm1.json90
5 files changed, 712 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/Conformance-TosaOutput_0.json
new file mode 100644
index 000000000..4d3f0649e
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/Conformance-TosaOutput_0.json
@@ -0,0 +1,11 @@
+{
+ "type": "int32",
+ "data": [
+ 127,
+ -119,
+ 18,
+ -112,
+ 20,
+ -78
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/desc.json b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/desc.json
new file mode 100644
index 000000000..44794a83f
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/desc.json
@@ -0,0 +1,19 @@
+{
+ "tosa_file": "test_strided_slice_14x19_i32_perm1.json",
+ "ifm_name": [
+ "TosaInput_0"
+ ],
+ "ifm_file": [
+ "placeholder_0.npy"
+ ],
+ "ofm_name": [
+ "TosaOutput_0"
+ ],
+ "ofm_file": [
+ "output_0.npy"
+ ],
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-TosaOutput_0.npy"
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/model-tflite.json b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/model-tflite.json
new file mode 100644
index 000000000..f8c393f3d
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/model-tflite.json
@@ -0,0 +1,293 @@
+{
+ version: 3,
+ operator_codes: [
+ {
+ deprecated_builtin_code: 45,
+ version: 1,
+ builtin_code: "STRIDED_SLICE"
+ }
+ ],
+ subgraphs: [
+ {
+ tensors: [
+ {
+ shape: [
+ 14,
+ 19
+ ],
+ type: "INT32",
+ buffer: 1,
+ name: "serving_default_placeholder_0:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ buffer: 2,
+ name: "result",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ buffer: 3,
+ name: "result1",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 2
+ ],
+ type: "INT32",
+ buffer: 4,
+ name: "result2",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 6
+ ],
+ type: "INT32",
+ buffer: 5,
+ name: "PartitionedCall:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ }
+ ],
+ inputs: [
+ 0
+ ],
+ outputs: [
+ 4
+ ],
+ operators: [
+ {
+ opcode_index: 0,
+ inputs: [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ outputs: [
+ 4
+ ],
+ builtin_options_type: "StridedSliceOptions",
+ builtin_options: {
+ begin_mask: 1,
+ end_mask: 1,
+ ellipsis_mask: 0,
+ new_axis_mask: 0,
+ shrink_axis_mask: 1
+ },
+ custom_options_format: "FLEXBUFFERS"
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holder_0",
+ tensor_index: 0
+ }
+ ],
+ outputs: [
+ {
+ name: "output_0",
+ tensor_index: 4
+ }
+ ],
+ method_name: "serving_default",
+ subgraph_index: 0
+ }
+ ]
+}
diff --git a/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/placeholder_0.json b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/placeholder_0.json
new file mode 100644
index 000000000..d4cf6d6d8
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/placeholder_0.json
@@ -0,0 +1,299 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 19,
+ -32,
+ -70,
+ -16,
+ 127,
+ -119,
+ 18,
+ -112,
+ 20,
+ -78,
+ -39,
+ 93,
+ 125,
+ -73,
+ 123,
+ -19,
+ -27,
+ -35,
+ 12
+ ],
+ [
+ 95,
+ 84,
+ 12,
+ 44,
+ -13,
+ 42,
+ 112,
+ 112,
+ -20,
+ 110,
+ -44,
+ -20,
+ 91,
+ -111,
+ 32,
+ 17,
+ 92,
+ -29,
+ 24
+ ],
+ [
+ -35,
+ 26,
+ -34,
+ 29,
+ -127,
+ 34,
+ -128,
+ -69,
+ -7,
+ -67,
+ 54,
+ -44,
+ 118,
+ -42,
+ 114,
+ 33,
+ 64,
+ -8,
+ 33
+ ],
+ [
+ 72,
+ -76,
+ 124,
+ -79,
+ 53,
+ -78,
+ 87,
+ -44,
+ -13,
+ 89,
+ 31,
+ -122,
+ 109,
+ 83,
+ -20,
+ 82,
+ 36,
+ 5,
+ -123
+ ],
+ [
+ -3,
+ 70,
+ 56,
+ -70,
+ -12,
+ 71,
+ -13,
+ 19,
+ -116,
+ 109,
+ 11,
+ 19,
+ 27,
+ 98,
+ 32,
+ 87,
+ -88,
+ -55,
+ -1
+ ],
+ [
+ 34,
+ 84,
+ 62,
+ -18,
+ -44,
+ -86,
+ -25,
+ -51,
+ 36,
+ 81,
+ -1,
+ 120,
+ 57,
+ -24,
+ 77,
+ 6,
+ -117,
+ 34,
+ 23
+ ],
+ [
+ -35,
+ 9,
+ -99,
+ 54,
+ 8,
+ -76,
+ -102,
+ -20,
+ -28,
+ 55,
+ 16,
+ -100,
+ 0,
+ -81,
+ 14,
+ -12,
+ 111,
+ -114,
+ -38
+ ],
+ [
+ -34,
+ -63,
+ -104,
+ -100,
+ -108,
+ 27,
+ 56,
+ 50,
+ 32,
+ -2,
+ -8,
+ -64,
+ -50,
+ -1,
+ 6,
+ -110,
+ 37,
+ -108,
+ -64
+ ],
+ [
+ 88,
+ 93,
+ 53,
+ -58,
+ -1,
+ 8,
+ 37,
+ -95,
+ -44,
+ 89,
+ 120,
+ -23,
+ -110,
+ -34,
+ -1,
+ 32,
+ -62,
+ 79,
+ -25
+ ],
+ [
+ -98,
+ -102,
+ 63,
+ -25,
+ -25,
+ 87,
+ 77,
+ 123,
+ 110,
+ 37,
+ 83,
+ -107,
+ 116,
+ 27,
+ -122,
+ 41,
+ -65,
+ 4,
+ -13
+ ],
+ [
+ 43,
+ -62,
+ 15,
+ -55,
+ 88,
+ -20,
+ -116,
+ -117,
+ -31,
+ 119,
+ 3,
+ -37,
+ 33,
+ -59,
+ 103,
+ 39,
+ 16,
+ -78,
+ -8
+ ],
+ [
+ 12,
+ -128,
+ 117,
+ 14,
+ -3,
+ -93,
+ 48,
+ -19,
+ 38,
+ 19,
+ -121,
+ 113,
+ 77,
+ 91,
+ 99,
+ 100,
+ -21,
+ -82,
+ -9
+ ],
+ [
+ -13,
+ -102,
+ -122,
+ 106,
+ -56,
+ -1,
+ 88,
+ 90,
+ 10,
+ 95,
+ 65,
+ 107,
+ -39,
+ -21,
+ -108,
+ 121,
+ -5,
+ -74,
+ 80
+ ],
+ [
+ -81,
+ -61,
+ 27,
+ -31,
+ -110,
+ -15,
+ 111,
+ 10,
+ 85,
+ 23,
+ -40,
+ -72,
+ -13,
+ -94,
+ 112,
+ 123,
+ 20,
+ 26,
+ -29
+ ]
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/test_strided_slice_14x19_i32_perm1.json b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/test_strided_slice_14x19_i32_perm1.json
new file mode 100644
index 000000000..8e77b18a3
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_14x19_i32_perm1/test_strided_slice_14x19_i32_perm1.json
@@ -0,0 +1,90 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0,
+ 4
+ ],
+ size: [
+ 1,
+ 6
+ ]
+ },
+ inputs: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "layer_0"
+ ]
+ },
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 6
+ ]
+ },
+ inputs: [
+ "layer_0"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 14,
+ 19
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 6
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 1,
+ 6
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ]
+}