aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/minimum_64_i32
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/tflite/operators/minimum_64_i32')
-rw-r--r--frameworks/tflite/operators/minimum_64_i32/Conformance-TosaOutput_0.json69
-rw-r--r--frameworks/tflite/operators/minimum_64_i32/desc.json21
-rw-r--r--frameworks/tflite/operators/minimum_64_i32/model-tflite.json228
-rw-r--r--frameworks/tflite/operators/minimum_64_i32/placeholder_0.json69
-rw-r--r--frameworks/tflite/operators/minimum_64_i32/placeholder_1.json6
-rw-r--r--frameworks/tflite/operators/minimum_64_i32/test_min_64_i32.json65
6 files changed, 458 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/minimum_64_i32/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/minimum_64_i32/Conformance-TosaOutput_0.json
new file mode 100644
index 000000000..36dac176c
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_64_i32/Conformance-TosaOutput_0.json
@@ -0,0 +1,69 @@
+{
+ "type": "int32",
+ "data": [
+ -101,
+ -118,
+ -29,
+ -42,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -105,
+ -29,
+ -29,
+ -96,
+ -76,
+ -64,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -73,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -35,
+ -29,
+ -88,
+ -29,
+ -29,
+ -73,
+ -29,
+ -29,
+ -36,
+ -29,
+ -77,
+ -42,
+ -111,
+ -95,
+ -29,
+ -29,
+ -29,
+ -60,
+ -29,
+ -29,
+ -86,
+ -72,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -29,
+ -85,
+ -29,
+ -84,
+ -51,
+ -29
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/minimum_64_i32/desc.json b/frameworks/tflite/operators/minimum_64_i32/desc.json
new file mode 100644
index 000000000..eaad4255b
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_64_i32/desc.json
@@ -0,0 +1,21 @@
+{
+ "tosa_file": "test_min_64_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_64_i32/model-tflite.json b/frameworks/tflite/operators/minimum_64_i32/model-tflite.json
new file mode 100644
index 000000000..ecc745590
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_64_i32/model-tflite.json
@@ -0,0 +1,228 @@
+{
+ version: 3,
+ operator_codes: [
+ {
+ deprecated_builtin_code: 57,
+ version: 1,
+ builtin_code: "MINIMUM"
+ }
+ ],
+ 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: "serving_default_placeholder_1:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 64
+ ],
+ 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_64_i32/placeholder_0.json b/frameworks/tflite/operators/minimum_64_i32/placeholder_0.json
new file mode 100644
index 000000000..c872914cb
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_64_i32/placeholder_0.json
@@ -0,0 +1,69 @@
+{
+ "type": "int32",
+ "data": [
+ -101,
+ -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
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/minimum_64_i32/placeholder_1.json b/frameworks/tflite/operators/minimum_64_i32/placeholder_1.json
new file mode 100644
index 000000000..bc0ae9788
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_64_i32/placeholder_1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -29
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/minimum_64_i32/test_min_64_i32.json b/frameworks/tflite/operators/minimum_64_i32/test_min_64_i32.json
new file mode 100644
index 000000000..ebb9d9199
--- /dev/null
+++ b/frameworks/tflite/operators/minimum_64_i32/test_min_64_i32.json
@@ -0,0 +1,65 @@
+{
+ 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: [
+ 64
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaInput_1",
+ shape: [
+ 1
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ]
+}