aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/minimum_1x4x4x4_i32
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/minimum_1x4x4x4_i32')
-rw-r--r--frameworks/tflite/operators/minimum_1x4x4x4_i32/Conformance-TosaOutput_0.json111
-rw-r--r--frameworks/tflite/operators/minimum_1x4x4x4_i32/desc.json21
-rw-r--r--frameworks/tflite/operators/minimum_1x4x4x4_i32/model-tflite.json237
-rw-r--r--frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_0.json111
-rw-r--r--frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_1.json111
-rw-r--r--frameworks/tflite/operators/minimum_1x4x4x4_i32/test_min_1x4x4x4_i32.json74
6 files changed, 665 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/minimum_1x4x4x4_i32/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/minimum_1x4x4x4_i32/Conformance-TosaOutput_0.json
new file mode 100644
index 000000000..e2033d760
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_1x4x4x4_i32/Conformance-TosaOutput_0.json
@@ -0,0 +1,111 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -118,
+ -52,
+ -42,
+ 26
+ ],
+ [
+ -92,
+ -127,
+ 39,
+ -23
+ ],
+ [
+ -40,
+ -20,
+ -98,
+ -105
+ ],
+ [
+ -50,
+ 18,
+ -96,
+ -76
+ ]
+ ],
+ [
+ [
+ -126,
+ -64,
+ 19,
+ -73
+ ],
+ [
+ 55,
+ -97,
+ -120,
+ -73
+ ],
+ [
+ 83,
+ 44,
+ 23,
+ 74
+ ],
+ [
+ 38,
+ -35,
+ -29,
+ -88
+ ]
+ ],
+ [
+ [
+ 8,
+ 25,
+ -73,
+ -77
+ ],
+ [
+ -127,
+ -36,
+ -67,
+ -77
+ ],
+ [
+ -42,
+ -111,
+ -95,
+ -85
+ ],
+ [
+ 15,
+ -34,
+ -61,
+ -17
+ ]
+ ],
+ [
+ [
+ -23,
+ -86,
+ -72,
+ -9
+ ],
+ [
+ 48,
+ -92,
+ -94,
+ -67
+ ],
+ [
+ 73,
+ -67,
+ -85,
+ 11
+ ],
+ [
+ -84,
+ -51,
+ 10,
+ -29
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/minimum_1x4x4x4_i32/desc.json b/frameworks/tflite/operators/minimum_1x4x4x4_i32/desc.json
new file mode 100644
index 000000000..f23198bb7
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_1x4x4x4_i32/desc.json
@@ -0,0 +1,21 @@
+{
+ "tosa_file": "test_min_1x4x4x4_i32.json",
+ "ifm_name": [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ "ifm_file": [
+ "placeholder_0.npy",
+ "placeholder_1.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/minimum_1x4x4x4_i32/model-tflite.json b/frameworks/tflite/operators/minimum_1x4x4x4_i32/model-tflite.json
new file mode 100644
index 000000000..9b1a64669
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_1x4x4x4_i32/model-tflite.json
@@ -0,0 +1,237 @@
+{
+ version: 3,
+ operator_codes: [
+ {
+ deprecated_builtin_code: 57,
+ version: 1,
+ builtin_code: "MINIMUM"
+ }
+ ],
+ subgraphs: [
+ {
+ tensors: [
+ {
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT32",
+ buffer: 1,
+ name: "serving_default_placeholder_0:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT32",
+ buffer: 2,
+ name: "serving_default_placeholder_1:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT32",
+ buffer: 3,
+ name: "PartitionedCall:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ }
+ ],
+ inputs: [
+ 0,
+ 1
+ ],
+ outputs: [
+ 2
+ ],
+ operators: [
+ {
+ opcode_index: 0,
+ inputs: [
+ 0,
+ 1
+ ],
+ outputs: [
+ 2
+ ],
+ builtin_options_type: "NONE",
+ custom_options_format: "FLEXBUFFERS"
+ }
+ ],
+ name: "main"
+ }
+ ],
+ description: "MLIR Converted.",
+ buffers: [
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ data: [
+ 49,
+ 46,
+ 49,
+ 52,
+ 46,
+ 48,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 12,
+ 0,
+ 0,
+ 0,
+ 8,
+ 0,
+ 14,
+ 0,
+ 8,
+ 0,
+ 4,
+ 0,
+ 8,
+ 0,
+ 0,
+ 0,
+ 16,
+ 0,
+ 0,
+ 0,
+ 36,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 6,
+ 0,
+ 8,
+ 0,
+ 4,
+ 0,
+ 6,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 10,
+ 0,
+ 16,
+ 0,
+ 12,
+ 0,
+ 8,
+ 0,
+ 4,
+ 0,
+ 10,
+ 0,
+ 0,
+ 0,
+ 3,
+ 0,
+ 0,
+ 0,
+ 2,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 5,
+ 0,
+ 0,
+ 0,
+ 50,
+ 46,
+ 57,
+ 46,
+ 48,
+ 0,
+ 0,
+ 0
+ ]
+ }
+ ],
+ metadata: [
+ {
+ name: "min_runtime_version",
+ buffer: 4
+ },
+ {
+ name: "CONVERSION_METADATA",
+ buffer: 5
+ }
+ ],
+ signature_defs: [
+ {
+ inputs: [
+ {
+ name: "placeholder_0",
+ tensor_index: 0
+ },
+ {
+ name: "placeholder_1",
+ tensor_index: 1
+ }
+ ],
+ outputs: [
+ {
+ name: "output_0",
+ tensor_index: 2
+ }
+ ],
+ method_name: "serving_default",
+ subgraph_index: 0
+ }
+ ]
+}
diff --git a/frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_0.json b/frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_0.json
new file mode 100644
index 000000000..f91efc18e
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_0.json
@@ -0,0 +1,111 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -118,
+ 91,
+ -42,
+ 26
+ ],
+ [
+ 9,
+ 94,
+ 39,
+ -15
+ ],
+ [
+ 17,
+ -20,
+ 21,
+ -105
+ ],
+ [
+ -23,
+ 30,
+ -96,
+ -76
+ ]
+ ],
+ [
+ [
+ -64,
+ 4,
+ 19,
+ 15
+ ],
+ [
+ 55,
+ -21,
+ 56,
+ -73
+ ],
+ [
+ 123,
+ 109,
+ 23,
+ 74
+ ],
+ [
+ 52,
+ -35,
+ 20,
+ -88
+ ]
+ ],
+ [
+ [
+ 18,
+ 25,
+ -73,
+ 53
+ ],
+ [
+ -10,
+ -36,
+ 36,
+ -77
+ ],
+ [
+ -42,
+ -111,
+ -95,
+ 54
+ ],
+ [
+ 15,
+ 67,
+ -60,
+ -17
+ ]
+ ],
+ [
+ [
+ -23,
+ -86,
+ -72,
+ 88
+ ],
+ [
+ 117,
+ 43,
+ 2,
+ 107
+ ],
+ [
+ 126,
+ -24,
+ -85,
+ 14
+ ],
+ [
+ -84,
+ -51,
+ 10,
+ -29
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_1.json b/frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_1.json
new file mode 100644
index 000000000..d07614246
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_1x4x4x4_i32/placeholder_1.json
@@ -0,0 +1,111 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -93,
+ -52,
+ -22,
+ 113
+ ],
+ [
+ -92,
+ -127,
+ 73,
+ -23
+ ],
+ [
+ -40,
+ 94,
+ -98,
+ 79
+ ],
+ [
+ -50,
+ 18,
+ 92,
+ -56
+ ]
+ ],
+ [
+ [
+ -126,
+ -64,
+ 64,
+ -73
+ ],
+ [
+ 111,
+ -97,
+ -120,
+ 92
+ ],
+ [
+ 83,
+ 44,
+ 50,
+ 95
+ ],
+ [
+ 38,
+ 100,
+ -29,
+ 110
+ ]
+ ],
+ [
+ [
+ 8,
+ 80,
+ -1,
+ -77
+ ],
+ [
+ -127,
+ 73,
+ -67,
+ 70
+ ],
+ [
+ 63,
+ 103,
+ 70,
+ -85
+ ],
+ [
+ 52,
+ -34,
+ -61,
+ 53
+ ]
+ ],
+ [
+ [
+ -23,
+ 51,
+ -64,
+ -9
+ ],
+ [
+ 48,
+ -92,
+ -94,
+ -67
+ ],
+ [
+ 73,
+ -67,
+ -69,
+ 11
+ ],
+ [
+ 67,
+ -43,
+ 112,
+ -19
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/minimum_1x4x4x4_i32/test_min_1x4x4x4_i32.json b/frameworks/tflite/operators/minimum_1x4x4x4_i32/test_min_1x4x4x4_i32.json
new file mode 100644
index 000000000..3f0f4973f
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_1x4x4x4_i32/test_min_1x4x4x4_i32.json
@@ -0,0 +1,74 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "MINIMUM",
+ attribute_type: "NONE",
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaInput_1",
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 1,
+ 4,
+ 4,
+ 4
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ]
+}