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/const/const_6_f16 | |
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/const/const_6_f16')
-rw-r--r-- | operators/data_nodes/const/const_6_f16/Conformance-const-0.json | 11 | ||||
-rw-r--r-- | operators/data_nodes/const/const_6_f16/desc.json | 19 | ||||
-rw-r--r-- | operators/data_nodes/const/const_6_f16/test.json | 54 |
3 files changed, 84 insertions, 0 deletions
diff --git a/operators/data_nodes/const/const_6_f16/Conformance-const-0.json b/operators/data_nodes/const/const_6_f16/Conformance-const-0.json new file mode 100644 index 000000000..ce0a9bb23 --- /dev/null +++ b/operators/data_nodes/const/const_6_f16/Conformance-const-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/const/const_6_f16/desc.json b/operators/data_nodes/const/const_6_f16/desc.json new file mode 100644 index 000000000..5701f55f6 --- /dev/null +++ b/operators/data_nodes/const/const_6_f16/desc.json @@ -0,0 +1,19 @@ +{ + "tosa_file": "test.json", + "ifm_name": [], + "ifm_file": [], + "ofm_name": [ + "const-0" + ], + "ofm_file": [ + "const-0.npy" + ], + "expected_return_code": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-const-0.npy" + ], + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_nodes/const/const_6_f16/test.json b/operators/data_nodes/const/const_6_f16/test.json new file mode 100644 index 000000000..1baac3d82 --- /dev/null +++ b/operators/data_nodes/const/const_6_f16/test.json @@ -0,0 +1,54 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ], + tensors: [ + { + name: "const-0", + shape: [ + 6 + ], + type: "FP16", + data: [ + 90, + 178, + 34, + 184, + 212, + 62, + 155, + 56, + 42, + 61, + 62, + 179 + ] + } + ], + inputs: [ + + ], + outputs: [ + "const-0" + ] + } + ] +} |