aboutsummaryrefslogtreecommitdiff
path: root/operators/data_nodes/identity/identity_6_f16
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-11-21 12:01:32 +0000
committerJames Ward <james.ward@arm.com>2022-11-21 12:01:32 +0000
commit435e11481d0fb6b85d9cbb2415437a87e5174ac3 (patch)
tree9c4058dcbcb957f2ae014f2ccfe18a3fabb3ea79 /operators/data_nodes/identity/identity_6_f16
parentd8e6b6b5148a3d61b378e6e5259ca421a709abef (diff)
downloadconformance_tests-435e11481d0fb6b85d9cbb2415437a87e5174ac3.tar.gz
Create MI tests for Data Nodes: CONST, IDENTITY
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I80ad9bad5c3a88892c325477a9d7178f4f8c7d9c
Diffstat (limited to 'operators/data_nodes/identity/identity_6_f16')
-rw-r--r--operators/data_nodes/identity/identity_6_f16/Conformance-result-0.json11
-rw-r--r--operators/data_nodes/identity/identity_6_f16/desc.json23
-rw-r--r--operators/data_nodes/identity/identity_6_f16/input-0.json11
-rw-r--r--operators/data_nodes/identity/identity_6_f16/test.json47
4 files changed, 92 insertions, 0 deletions
diff --git a/operators/data_nodes/identity/identity_6_f16/Conformance-result-0.json b/operators/data_nodes/identity/identity_6_f16/Conformance-result-0.json
new file mode 100644
index 000000000..ce0a9bb23
--- /dev/null
+++ b/operators/data_nodes/identity/identity_6_f16/Conformance-result-0.json
@@ -0,0 +1,11 @@
+{
+ "type": "float16",
+ "data": [
+ -0.198486328125,
+ -0.5166015625,
+ 1.70703125,
+ 0.57568359375,
+ 1.291015625,
+ -0.226318359375
+ ]
+} \ No newline at end of file
diff --git a/operators/data_nodes/identity/identity_6_f16/desc.json b/operators/data_nodes/identity/identity_6_f16/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_nodes/identity/identity_6_f16/desc.json
@@ -0,0 +1,23 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_nodes/identity/identity_6_f16/input-0.json b/operators/data_nodes/identity/identity_6_f16/input-0.json
new file mode 100644
index 000000000..ce0a9bb23
--- /dev/null
+++ b/operators/data_nodes/identity/identity_6_f16/input-0.json
@@ -0,0 +1,11 @@
+{
+ "type": "float16",
+ "data": [
+ -0.198486328125,
+ -0.5166015625,
+ 1.70703125,
+ 0.57568359375,
+ 1.291015625,
+ -0.226318359375
+ ]
+} \ No newline at end of file
diff --git a/operators/data_nodes/identity/identity_6_f16/test.json b/operators/data_nodes/identity/identity_6_f16/test.json
new file mode 100644
index 000000000..9940f8f81
--- /dev/null
+++ b/operators/data_nodes/identity/identity_6_f16/test.json
@@ -0,0 +1,47 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "IDENTITY",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 6
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 6
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}