From 7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:07:03 +0100 Subject: Updating REDUCE_ANY tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I4dff8a3bdbc5fbef97f93471b7bafa09d01e6cb8 --- .../reduce_any_3_b_axis0/Conformance-result-0.json | 6 +++ .../reduce_any/reduce_any_3_b_axis0/desc.json | 20 +++++++++ .../reduce_any/reduce_any_3_b_axis0/input-0.json | 8 ++++ .../reduce_any/reduce_any_3_b_axis0/test.json | 50 ++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 operators/reduction/reduce_any/reduce_any_3_b_axis0/Conformance-result-0.json create mode 100644 operators/reduction/reduce_any/reduce_any_3_b_axis0/desc.json create mode 100644 operators/reduction/reduce_any/reduce_any_3_b_axis0/input-0.json create mode 100644 operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json (limited to 'operators/reduction/reduce_any/reduce_any_3_b_axis0') diff --git a/operators/reduction/reduce_any/reduce_any_3_b_axis0/Conformance-result-0.json b/operators/reduction/reduce_any/reduce_any_3_b_axis0/Conformance-result-0.json new file mode 100644 index 000000000..fa86ea1ad --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_3_b_axis0/Conformance-result-0.json @@ -0,0 +1,6 @@ +{ + "type": "bool", + "data": [ + true + ] +} \ No newline at end of file diff --git a/operators/reduction/reduce_any/reduce_any_3_b_axis0/desc.json b/operators/reduction/reduce_any/reduce_any_3_b_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_3_b_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/reduction/reduce_any/reduce_any_3_b_axis0/input-0.json b/operators/reduction/reduce_any/reduce_any_3_b_axis0/input-0.json new file mode 100644 index 000000000..bb4646776 --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_3_b_axis0/input-0.json @@ -0,0 +1,8 @@ +{ + "type": "bool", + "data": [ + true, + true, + true + ] +} \ No newline at end of file diff --git a/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json new file mode 100644 index 000000000..bd7d49f42 --- /dev/null +++ b/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json @@ -0,0 +1,50 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1