diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:39 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:39 +0100 |
commit | bceaa684e5249be84669ca1b1d8260236f0c1a6e (patch) | |
tree | 4bad866805ae78b6e29ffbc3a80f6f114d3efd62 /operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b | |
parent | 4f0cd453e02cf11dcb8b1dcb004cf4909cb2db1a (diff) | |
download | conformance_tests-bceaa684e5249be84669ca1b1d8260236f0c1a6e.tar.gz |
Updating LOGICAL_OR tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I6e92b765ed7963850f1829e3288ed103e3471455
Diffstat (limited to 'operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b')
4 files changed, 211 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/desc.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/desc.json new file mode 100644 index 000000000..3a2350840 --- /dev/null +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/desc.json @@ -0,0 +1,20 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Input Dimensions do not match output" +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/input-0.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/input-0.json new file mode 100644 index 000000000..f5c2df506 --- /dev/null +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/input-0.json @@ -0,0 +1,67 @@ +{ + "type": "bool", + "data": [ + true, + true, + false, + false, + false, + false, + false, + false, + false, + true, + true, + true, + false, + true, + false, + true, + true, + true, + true, + true, + false, + true, + true, + true, + false, + true, + true, + true, + true, + false, + false, + true, + true, + true, + true, + false, + true, + true, + true, + false, + true, + true, + false, + true, + true, + true, + false, + true, + false, + false, + true, + false, + false, + true, + true, + true, + false, + false, + true, + false, + true, + true + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/input-1.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/input-1.json new file mode 100644 index 000000000..2f147be09 --- /dev/null +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/input-1.json @@ -0,0 +1,68 @@ +{ + "type": "bool", + "data": [ + false, + true, + false, + true, + false, + true, + true, + true, + true, + false, + true, + false, + true, + true, + true, + true, + false, + false, + false, + false, + false, + false, + false, + true, + false, + true, + true, + false, + false, + false, + true, + false, + true, + true, + true, + false, + true, + false, + true, + false, + false, + false, + true, + true, + false, + false, + true, + true, + false, + true, + true, + false, + true, + false, + false, + false, + true, + true, + true, + true, + true, + true, + true + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/test.json b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/test.json new file mode 100644 index 000000000..5b9ec6593 --- /dev/null +++ b/operators/ew_binary/logical_or/logical_or_ERRORIF_DimensionMismatch_62_b/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 62 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 63 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 62 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |