diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:12 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:12 +0100 |
commit | f26e48db4337bfbaf567ac21c72ff2d58d870040 (patch) | |
tree | e2f64ced25049338cff41fd35a2bef1246dda2d1 /operators/tensor/argmax/argmax_34_i8_axis0 | |
parent | 45e0ee4bdaabb51815caa8c7a6a1ba3f52cdfb9a (diff) | |
download | conformance_tests-f26e48db4337bfbaf567ac21c72ff2d58d870040.tar.gz |
Updating ARGMAX tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I5ad4da95fb9e88ab93634afcc3a4348771c711a5
Diffstat (limited to 'operators/tensor/argmax/argmax_34_i8_axis0')
4 files changed, 115 insertions, 0 deletions
diff --git a/operators/tensor/argmax/argmax_34_i8_axis0/Conformance-result-0.json b/operators/tensor/argmax/argmax_34_i8_axis0/Conformance-result-0.json new file mode 100644 index 000000000..b6b28a2d6 --- /dev/null +++ b/operators/tensor/argmax/argmax_34_i8_axis0/Conformance-result-0.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 33 + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_34_i8_axis0/desc.json b/operators/tensor/argmax/argmax_34_i8_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/tensor/argmax/argmax_34_i8_axis0/desc.json @@ -0,0 +1,20 @@ +{ + "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" + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_34_i8_axis0/input-0.json b/operators/tensor/argmax/argmax_34_i8_axis0/input-0.json new file mode 100644 index 000000000..7b0a985d7 --- /dev/null +++ b/operators/tensor/argmax/argmax_34_i8_axis0/input-0.json @@ -0,0 +1,39 @@ +{ + "type": "int32", + "data": [ + 60, + 66, + 55, + 73, + 3, + -96, + 86, + -13, + 0, + -34, + -82, + 109, + 72, + 36, + -25, + 82, + 11, + -15, + -13, + -70, + -105, + 13, + 99, + -112, + 91, + 83, + -58, + 33, + -86, + 66, + 51, + -38, + -111, + 120 + ] +}
\ No newline at end of file diff --git a/operators/tensor/argmax/argmax_34_i8_axis0/test.json b/operators/tensor/argmax/argmax_34_i8_axis0/test.json new file mode 100644 index 000000000..c8647e97b --- /dev/null +++ b/operators/tensor/argmax/argmax_34_i8_axis0/test.json @@ -0,0 +1,50 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARGMAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 34 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |