diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:29 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:29 +0100 |
commit | 00d05b3831fa305a377fda5ad6d81c53964a4d13 (patch) | |
tree | 3e9caa35371288dccb3a6de7f3e8353ab007c5b3 /operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4 | |
parent | 52bfc1a26ec8a1583a274bedf848f3ff3047a2d6 (diff) | |
download | conformance_tests-00d05b3831fa305a377fda5ad6d81c53964a4d13.tar.gz |
Updating REDUCTION tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ifc85983119c6b49776f243aa9e7499af1f81413e
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4')
3 files changed, 88 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/desc.json new file mode 100644 index 000000000..2c04c0be8 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/desc.json @@ -0,0 +1,22 @@ +{ + "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": "Axis smaller than zero", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/input-0.json new file mode 100644 index 000000000..ff2403cbb --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/input-0.json @@ -0,0 +1,16 @@ +{ + "type": "int32", + "data": [ + 125, + 37, + -67, + -47, + -61, + 85, + -105, + 61, + 13, + -110, + 29 + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json new file mode 100644 index 000000000..b137962a8 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json @@ -0,0 +1,50 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: -4 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |