aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/strided_slice_64_i32_perm3
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/strided_slice_64_i32_perm3')
-rw-r--r--frameworks/tflite/operators/strided_slice_64_i32_perm3/Conformance-TosaOutput_0.json24
-rw-r--r--frameworks/tflite/operators/strided_slice_64_i32_perm3/desc.json19
-rw-r--r--frameworks/tflite/operators/strided_slice_64_i32_perm3/model-tflite.json280
-rw-r--r--frameworks/tflite/operators/strided_slice_64_i32_perm3/placeholder_0.json69
-rw-r--r--frameworks/tflite/operators/strided_slice_64_i32_perm3/test_strided_slice_64_i32_perm3.json144
5 files changed, 536 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/strided_slice_64_i32_perm3/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/strided_slice_64_i32_perm3/Conformance-TosaOutput_0.json
new file mode 100644
index 000000000..866d6c3c3
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_64_i32_perm3/Conformance-TosaOutput_0.json
@@ -0,0 +1,24 @@
+{
+ "type": "int32",
+ "data": [
+ -32,
+ 127,
+ -112,
+ -39,
+ -73,
+ -27,
+ 95,
+ 44,
+ 112,
+ 110,
+ 91,
+ 17,
+ 24,
+ -34,
+ 34,
+ -7,
+ -44,
+ 114,
+ -8
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/strided_slice_64_i32_perm3/desc.json b/frameworks/tflite/operators/strided_slice_64_i32_perm3/desc.json
new file mode 100644
index 000000000..eebc7d28f
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_64_i32_perm3/desc.json
@@ -0,0 +1,19 @@
+{
+ "tosa_file": "test_strided_slice_64_i32_perm3.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_64_i32_perm3/model-tflite.json b/frameworks/tflite/operators/strided_slice_64_i32_perm3/model-tflite.json
new file mode 100644
index 000000000..c512fe573
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_64_i32_perm3/model-tflite.json
@@ -0,0 +1,280 @@
+{
+ version: 3,
+ operator_codes: [
+ {
+ deprecated_builtin_code: 45,
+ version: 1,
+ builtin_code: "STRIDED_SLICE"
+ }
+ ],
+ subgraphs: [
+ {
+ tensors: [
+ {
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ buffer: 1,
+ name: "serving_default_placeholder_0:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ buffer: 2,
+ name: "result",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ buffer: 3,
+ name: "result1",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ buffer: 4,
+ name: "result2",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 19
+ ],
+ 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: 0,
+ end_mask: 0,
+ ellipsis_mask: 0,
+ new_axis_mask: 0,
+ shrink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{
+ name: "output_0",
+ tensor_index: 4
+ }
+ ],
+ method_name: "serving_default",
+ subgraph_index: 0
+ }
+ ]
+}
diff --git a/frameworks/tflite/operators/strided_slice_64_i32_perm3/placeholder_0.json b/frameworks/tflite/operators/strided_slice_64_i32_perm3/placeholder_0.json
new file mode 100644
index 000000000..e1760405f
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_64_i32_perm3/placeholder_0.json
@@ -0,0 +1,69 @@
+{
+ "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
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/strided_slice_64_i32_perm3/test_strided_slice_64_i32_perm3.json b/frameworks/tflite/operators/strided_slice_64_i32_perm3/test_strided_slice_64_i32_perm3.json
new file mode 100644
index 000000000..5e00defcd
--- /dev/null
+++ b/frameworks/tflite/operators/strided_slice_64_i32_perm3/test_strided_slice_64_i32_perm3.json
@@ -0,0 +1,144 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 1
+ ],
+ size: [
+ 57
+ ]
+ },
+ inputs: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "layer_0"
+ ]
+ },
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 19,
+ 3
+ ]
+ },
+ inputs: [
+ "layer_0"
+ ],
+ outputs: [
+ "layer_1"
+ ]
+ },
+ {
+ op: "SLICE",
+ attribute_type: "SliceAttribute",
+ attribute: {
+ start: [
+ 0,
+ 0
+ ],
+ size: [
+ 19,
+ 1
+ ]
+ },
+ inputs: [
+ "layer_1"
+ ],
+ outputs: [
+ "layer_2"
+ ]
+ },
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 19
+ ]
+ },
+ inputs: [
+ "layer_2"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 19
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_0",
+ shape: [
+ 57
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_1",
+ shape: [
+ 19,
+ 3
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "layer_2",
+ shape: [
+ 19,
+ 1
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ]
+}