diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-05-09 13:02:04 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-05-09 13:02:04 +0100 |
commit | 7037332896b3151963a3e83f65acb40590c74199 (patch) | |
tree | 37cc187bbad1ed0c52efa6f3a47e72cb24b3e89a /operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0 | |
parent | fe6e6eb29a416ad7618567d4365f8b65165694c1 (diff) | |
download | conformance_tests-7037332896b3151963a3e83f65acb40590c74199.tar.gz |
8K level: rank 6 ARGMAX tests
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia7c3d89b176a2ac13fd05c734a3d8b7753fa8409
Diffstat (limited to 'operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0')
3 files changed, 92 insertions, 0 deletions
diff --git a/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/desc.json b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/desc.json new file mode 100644 index 000000000..b4526f1cb --- /dev/null +++ b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/desc.json @@ -0,0 +1,21 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Op input list does not match expected input", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/input-0.json b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/input-0.json new file mode 100644 index 000000000..19723559d --- /dev/null +++ b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/input-0.json @@ -0,0 +1,16 @@ +{ + "type": "float32", + "data": [ + 0.96875, + 0.12158203125, + 0.64453125, + 0.66015625, + 0.66796875, + 0.33984375, + 0.33203125, + 0.34375, + 0.734375, + 0.859375, + 0.455078125 + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/test.json b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/test.json new file mode 100644 index 000000000..b5f5035ee --- /dev/null +++ b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_11_bf16_axis0/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 70, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "ARGMAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |