aboutsummaryrefslogtreecommitdiff
path: root/operators/data_nodes/identity/identity_52_bf16
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_52_bf16
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_52_bf16')
-rw-r--r--operators/data_nodes/identity/identity_52_bf16/Conformance-result-0.json57
-rw-r--r--operators/data_nodes/identity/identity_52_bf16/desc.json23
-rw-r--r--operators/data_nodes/identity/identity_52_bf16/input-0.json57
-rw-r--r--operators/data_nodes/identity/identity_52_bf16/test.json47
4 files changed, 184 insertions, 0 deletions
diff --git a/operators/data_nodes/identity/identity_52_bf16/Conformance-result-0.json b/operators/data_nodes/identity/identity_52_bf16/Conformance-result-0.json
new file mode 100644
index 000000000..71572b41f
--- /dev/null
+++ b/operators/data_nodes/identity/identity_52_bf16/Conformance-result-0.json
@@ -0,0 +1,57 @@
+{
+ "type": "float32",
+ "data": [
+ -1.0859375,
+ 0.2177734375,
+ -1.7421875,
+ 1.3046875,
+ 0.5234375,
+ 1.03125,
+ -0.578125,
+ 1.875,
+ 1.5703125,
+ 1.109375,
+ -1.21875,
+ -0.1328125,
+ -1.8203125,
+ -1.3828125,
+ 0.73046875,
+ 0.9765625,
+ 1.8671875,
+ -0.6953125,
+ -0.515625,
+ -0.12158203125,
+ -1.234375,
+ -1.4765625,
+ -0.09716796875,
+ -1.0859375,
+ 0.67578125,
+ -0.25,
+ 1.328125,
+ 0.80078125,
+ -0.75,
+ 1.328125,
+ 1.21875,
+ -0.44921875,
+ -0.84375,
+ 0.7265625,
+ -1.4375,
+ -1.1953125,
+ -1.96875,
+ 1.140625,
+ 0.65625,
+ 0.8203125,
+ 1.1171875,
+ -0.1640625,
+ 0.2734375,
+ -1.4375,
+ -1.5390625,
+ 0.671875,
+ -0.115234375,
+ 0.259765625,
+ 1.0546875,
+ 0.53515625,
+ 0.2138671875,
+ 0.236328125
+ ]
+} \ No newline at end of file
diff --git a/operators/data_nodes/identity/identity_52_bf16/desc.json b/operators/data_nodes/identity/identity_52_bf16/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_nodes/identity/identity_52_bf16/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_52_bf16/input-0.json b/operators/data_nodes/identity/identity_52_bf16/input-0.json
new file mode 100644
index 000000000..71572b41f
--- /dev/null
+++ b/operators/data_nodes/identity/identity_52_bf16/input-0.json
@@ -0,0 +1,57 @@
+{
+ "type": "float32",
+ "data": [
+ -1.0859375,
+ 0.2177734375,
+ -1.7421875,
+ 1.3046875,
+ 0.5234375,
+ 1.03125,
+ -0.578125,
+ 1.875,
+ 1.5703125,
+ 1.109375,
+ -1.21875,
+ -0.1328125,
+ -1.8203125,
+ -1.3828125,
+ 0.73046875,
+ 0.9765625,
+ 1.8671875,
+ -0.6953125,
+ -0.515625,
+ -0.12158203125,
+ -1.234375,
+ -1.4765625,
+ -0.09716796875,
+ -1.0859375,
+ 0.67578125,
+ -0.25,
+ 1.328125,
+ 0.80078125,
+ -0.75,
+ 1.328125,
+ 1.21875,
+ -0.44921875,
+ -0.84375,
+ 0.7265625,
+ -1.4375,
+ -1.1953125,
+ -1.96875,
+ 1.140625,
+ 0.65625,
+ 0.8203125,
+ 1.1171875,
+ -0.1640625,
+ 0.2734375,
+ -1.4375,
+ -1.5390625,
+ 0.671875,
+ -0.115234375,
+ 0.259765625,
+ 1.0546875,
+ 0.53515625,
+ 0.2138671875,
+ 0.236328125
+ ]
+} \ No newline at end of file
diff --git a/operators/data_nodes/identity/identity_52_bf16/test.json b/operators/data_nodes/identity/identity_52_bf16/test.json
new file mode 100644
index 000000000..1aae39570
--- /dev/null
+++ b/operators/data_nodes/identity/identity_52_bf16/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: [
+ 52
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 52
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}