diff options
author | James Ward <james.ward@arm.com> | 2022-11-21 12:01:32 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2022-11-21 12:01:32 +0000 |
commit | 435e11481d0fb6b85d9cbb2415437a87e5174ac3 (patch) | |
tree | 9c4058dcbcb957f2ae014f2ccfe18a3fabb3ea79 /operators/data_nodes/identity/identity_44_f32 | |
parent | d8e6b6b5148a3d61b378e6e5259ca421a709abef (diff) | |
download | conformance_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_44_f32')
4 files changed, 168 insertions, 0 deletions
diff --git a/operators/data_nodes/identity/identity_44_f32/Conformance-result-0.json b/operators/data_nodes/identity/identity_44_f32/Conformance-result-0.json new file mode 100644 index 000000000..5f5e6e3d8 --- /dev/null +++ b/operators/data_nodes/identity/identity_44_f32/Conformance-result-0.json @@ -0,0 +1,49 @@ +{ + "type": "float32", + "data": [ + -0.784199595451355, + -1.8767286539077759, + -0.2531304359436035, + -1.141661286354065, + -0.3658854365348816, + 1.4136122465133667, + -1.0642420053482056, + -1.7667890787124634, + -0.8744644522666931, + -0.825624942779541, + 0.6476660370826721, + 0.2281286120414734, + 1.1355928182601929, + 0.657254159450531, + -0.3744525611400604, + 1.2560815811157227, + -1.3321083784103394, + -1.9091516733169556, + -1.6398085355758667, + 0.8894373774528503, + -0.15249107778072357, + -1.3549128770828247, + 0.004179100506007671, + -1.390751600265503, + 0.7852814793586731, + -0.2153749018907547, + -0.4759151041507721, + -0.7939516305923462, + 0.521130383014679, + -0.5527495741844177, + -1.6494003534317017, + -1.527976393699646, + 1.847590684890747, + 1.6343227624893188, + 0.7988285422325134, + -0.9365201592445374, + 1.876705527305603, + 1.1150035858154297, + 0.8675607442855835, + -0.20255398750305176, + -0.9110337495803833, + -1.614436149597168, + 1.6104096174240112, + -0.17689484357833862 + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/identity/identity_44_f32/desc.json b/operators/data_nodes/identity/identity_44_f32/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/data_nodes/identity/identity_44_f32/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_44_f32/input-0.json b/operators/data_nodes/identity/identity_44_f32/input-0.json new file mode 100644 index 000000000..5f5e6e3d8 --- /dev/null +++ b/operators/data_nodes/identity/identity_44_f32/input-0.json @@ -0,0 +1,49 @@ +{ + "type": "float32", + "data": [ + -0.784199595451355, + -1.8767286539077759, + -0.2531304359436035, + -1.141661286354065, + -0.3658854365348816, + 1.4136122465133667, + -1.0642420053482056, + -1.7667890787124634, + -0.8744644522666931, + -0.825624942779541, + 0.6476660370826721, + 0.2281286120414734, + 1.1355928182601929, + 0.657254159450531, + -0.3744525611400604, + 1.2560815811157227, + -1.3321083784103394, + -1.9091516733169556, + -1.6398085355758667, + 0.8894373774528503, + -0.15249107778072357, + -1.3549128770828247, + 0.004179100506007671, + -1.390751600265503, + 0.7852814793586731, + -0.2153749018907547, + -0.4759151041507721, + -0.7939516305923462, + 0.521130383014679, + -0.5527495741844177, + -1.6494003534317017, + -1.527976393699646, + 1.847590684890747, + 1.6343227624893188, + 0.7988285422325134, + -0.9365201592445374, + 1.876705527305603, + 1.1150035858154297, + 0.8675607442855835, + -0.20255398750305176, + -0.9110337495803833, + -1.614436149597168, + 1.6104096174240112, + -0.17689484357833862 + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/identity/identity_44_f32/test.json b/operators/data_nodes/identity/identity_44_f32/test.json new file mode 100644 index 000000000..ca9a704dd --- /dev/null +++ b/operators/data_nodes/identity/identity_44_f32/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: [ + 44 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 44 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |