diff options
author | James Ward <james.ward@arm.com> | 2022-11-21 11:51:55 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2022-11-21 11:51:55 +0000 |
commit | d8e6b6b5148a3d61b378e6e5259ca421a709abef (patch) | |
tree | 2ec785497e47a644c12d57f22a306b0749d22735 /operators/data_layout/concat/concat_47_bf16_axis0 | |
parent | da333bee0fae850bf90f422d68902884b6063cce (diff) | |
download | conformance_tests-d8e6b6b5148a3d61b378e6e5259ca421a709abef.tar.gz |
Create MI tests for Data Layout: CONCAT, PAD, RESHAPE, REVERSE, SLICE, TILE, TRANSPOSE
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: Icbbe8f63e35d04a3b2cc64bd760ca92c22fd4aa7
Diffstat (limited to 'operators/data_layout/concat/concat_47_bf16_axis0')
4 files changed, 452 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_47_bf16_axis0/Conformance-result-0.json b/operators/data_layout/concat/concat_47_bf16_axis0/Conformance-result-0.json new file mode 100644 index 000000000..46291a435 --- /dev/null +++ b/operators/data_layout/concat/concat_47_bf16_axis0/Conformance-result-0.json @@ -0,0 +1,99 @@ +{ + "type": "float32", + "data": [ + 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, + -0.78125, + -1.875, + -0.251953125, + -1.140625, + -0.365234375, + 1.40625, + -1.0625, + -1.765625, + -0.87109375, + -0.82421875, + 0.64453125, + 0.2275390625, + 1.1328125, + 0.65625, + -0.373046875, + 1.25, + -1.328125, + -1.90625, + -1.6328125, + 0.88671875, + -0.15234375, + -1.3515625, + 0.004150390625, + -1.390625, + 0.78515625, + -0.21484375, + -0.474609375, + -0.79296875, + 0.51953125, + -0.55078125, + -1.6484375, + -1.5234375, + 1.84375, + 1.6328125, + 0.796875, + -0.93359375, + 1.875, + 1.109375, + 0.8671875, + -0.2021484375, + -0.91015625, + -1.609375, + 1.609375, + -0.1767578125, + -1.1875, + -0.7734375, + 0.31640625, + -1.2890625, + 1.421875, + 1.03125, + 0.875, + -0.271484375, + 0.5078125, + 0.3359375, + 0.59765625, + -1.65625, + -0.3359375, + -1.828125, + -0.02392578125, + -0.6796875, + -1.421875, + -1.5859375, + 0.349609375, + -1.3125, + 1.6953125, + 0.32421875, + -0.609375, + 0.36328125, + -1.90625, + 1.828125, + -0.0703125, + 1.125, + -1.6640625, + -0.05322265625, + -0.037109375, + 1.75, + 0.28515625, + -0.10595703125, + -0.9296875, + -0.671875, + 0.08251953125 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_47_bf16_axis0/desc.json b/operators/data_layout/concat/concat_47_bf16_axis0/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/data_layout/concat/concat_47_bf16_axis0/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_layout/concat/concat_47_bf16_axis0/input-0.json b/operators/data_layout/concat/concat_47_bf16_axis0/input-0.json new file mode 100644 index 000000000..3fc563764 --- /dev/null +++ b/operators/data_layout/concat/concat_47_bf16_axis0/input-0.json @@ -0,0 +1,52 @@ +{ + "type": "float32", + "data": [ + 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, + -0.78125, + -1.875, + -0.251953125, + -1.140625, + -0.365234375, + 1.40625, + -1.0625, + -1.765625, + -0.87109375, + -0.82421875, + 0.64453125, + 0.2275390625, + 1.1328125, + 0.65625, + -0.373046875, + 1.25, + -1.328125, + -1.90625, + -1.6328125, + 0.88671875, + -0.15234375, + -1.3515625, + 0.004150390625, + -1.390625, + 0.78515625, + -0.21484375, + -0.474609375, + -0.79296875, + 0.51953125, + -0.55078125, + -1.6484375, + -1.5234375, + 1.84375, + 1.6328125 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/concat/concat_47_bf16_axis0/test.json b/operators/data_layout/concat/concat_47_bf16_axis0/test.json new file mode 100644 index 000000000..891477deb --- /dev/null +++ b/operators/data_layout/concat/concat_47_bf16_axis0/test.json @@ -0,0 +1,278 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 23 + ], + type: "BF16", + data: [ + 0, + 0, + 76, + 63, + 0, + 0, + 111, + 191, + 0, + 0, + 240, + 63, + 0, + 0, + 142, + 63, + 0, + 0, + 94, + 63, + 0, + 0, + 79, + 190, + 0, + 0, + 105, + 191, + 0, + 0, + 206, + 191, + 0, + 0, + 206, + 63, + 0, + 0, + 53, + 190, + 0, + 0, + 152, + 191, + 0, + 0, + 70, + 191, + 0, + 0, + 162, + 62, + 0, + 0, + 165, + 191, + 0, + 0, + 182, + 63, + 0, + 0, + 132, + 63, + 0, + 0, + 96, + 63, + 0, + 0, + 139, + 190, + 0, + 0, + 2, + 63, + 0, + 0, + 172, + 62, + 0, + 0, + 25, + 63, + 0, + 0, + 212, + 191, + 0, + 0, + 172, + 190 + ] + }, + { + name: "const-2", + shape: [ + 24 + ], + type: "BF16", + data: [ + 0, + 0, + 234, + 191, + 0, + 0, + 196, + 188, + 0, + 0, + 46, + 191, + 0, + 0, + 182, + 191, + 0, + 0, + 203, + 191, + 0, + 0, + 179, + 62, + 0, + 0, + 168, + 191, + 0, + 0, + 217, + 63, + 0, + 0, + 166, + 62, + 0, + 0, + 28, + 191, + 0, + 0, + 186, + 62, + 0, + 0, + 244, + 191, + 0, + 0, + 234, + 63, + 0, + 0, + 144, + 189, + 0, + 0, + 144, + 63, + 0, + 0, + 213, + 191, + 0, + 0, + 90, + 189, + 0, + 0, + 24, + 189, + 0, + 0, + 224, + 63, + 0, + 0, + 146, + 62, + 0, + 0, + 217, + 189, + 0, + 0, + 110, + 191, + 0, + 0, + 44, + 191, + 0, + 0, + 169, + 61 + ] + }, + { + name: "result-0", + shape: [ + 94 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |