diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:03 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:03 +0100 |
commit | 6481ae51dce85dda44baa62d7fa8b82d5d6e0f92 (patch) | |
tree | 9d652f71454c7633ffb55ed393a115eff5c3b892 /operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32 | |
parent | db1aa636f391b107575a789430cb0410911fa8cc (diff) | |
download | conformance_tests-6481ae51dce85dda44baa62d7fa8b82d5d6e0f92.tar.gz |
Updating GREATER tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I777b5b0d5174e3464739d01eea0e0dcdd7facadc
Diffstat (limited to 'operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32')
4 files changed, 124 insertions, 0 deletions
diff --git a/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/desc.json b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/desc.json new file mode 100644 index 000000000..32d976811 --- /dev/null +++ b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/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": "Op input list does not match expected input" +}
\ No newline at end of file diff --git a/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/input-0.json b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/input-0.json new file mode 100644 index 000000000..99922a52c --- /dev/null +++ b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/input-0.json @@ -0,0 +1,43 @@ +{ + "type": "int32", + "data": [ + -1812462805, + 1712840884, + 824040973, + -1595949004, + -48893691, + -1805376622, + -497134853, + 1665837711, + -1515735773, + 842908033, + -1897041, + 1811957868, + -1559702098, + -104061865, + 1203012508, + 969706579, + -1944098993, + 356786061, + -822638603, + 545250953, + -265000945, + -1350846983, + 734927933, + 321028652, + 1313302757, + -1408105352, + -155120733, + -186940663, + 2095480238, + -87106507, + 491858711, + -2145502744, + -1823475361, + -827941287, + -1777529144, + -1043648404, + 1034578634, + -932938204 + ] +}
\ No newline at end of file diff --git a/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/input-1.json b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/input-1.json new file mode 100644 index 000000000..c486a4ed3 --- /dev/null +++ b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -968970022 + ] +}
\ No newline at end of file diff --git a/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/test.json b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/test.json new file mode 100644 index 000000000..1033e7e5b --- /dev/null +++ b/operators/comparison/greater/greater_ERRORIF_WrongInputList_38_i32/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "GREATER", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 38 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 38 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |