diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:21 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:21 +0100 |
commit | 4cc1201dde80193611cc8e14a7886aba96a3da09 (patch) | |
tree | 7911391452d9fe7c90f1756d9379c7d69a526669 /operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse | |
parent | cf8989f6250721418177c5b78cdedb7b6c56f74d (diff) | |
download | conformance_tests-4cc1201dde80193611cc8e14a7886aba96a3da09.tar.gz |
Updating EW_BINARY tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia7139c9720b6e2bbaa6b2dcc4c7367aa07135f4e
Diffstat (limited to 'operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse')
4 files changed, 265 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/desc.json new file mode 100644 index 000000000..dc8dfba88 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/desc.json @@ -0,0 +1,24 @@ +{ + "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 output list does not match expected output", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/input-0.json new file mode 100644 index 000000000..1a9054369 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/input-0.json @@ -0,0 +1,159 @@ +{ + "type": "int32", + "data": [ + [ + 55, + -92, + 51, + -10, + 109, + 71, + 13, + -1, + 8, + -68, + -80, + 30 + ], + [ + 42, + -9, + -18, + -23, + 62, + -73, + -30, + -105, + 77, + 101, + 27, + 9 + ], + [ + -107, + -114, + 83, + -80, + -16, + -77, + -112, + 10, + 33, + -2, + -62, + -48 + ], + [ + 76, + -105, + 36, + -107, + 51, + -88, + 105, + -11, + -62, + -95, + -88, + 3 + ], + [ + 65, + 64, + 97, + -18, + 72, + -57, + -127, + 119, + -55, + 19, + 108, + 119 + ], + [ + 114, + -66, + 5, + -126, + 8, + -30, + -1, + -58, + -81, + 102, + -89, + -58 + ], + [ + 77, + 81, + -111, + 46, + 45, + -57, + 86, + 50, + 79, + 17, + 117, + -117 + ], + [ + -90, + -97, + 116, + -103, + -72, + -40, + -105, + 4, + 13, + -118, + -7, + 88 + ], + [ + 111, + 6, + 80, + -95, + -90, + -111, + 0, + -27, + 114, + 77, + 83, + -2 + ], + [ + 76, + -48, + 16, + 36, + 68, + 39, + 34, + -18, + 125, + 114, + -93, + 46 + ], + [ + 9, + -92, + 100, + -36, + 33, + 95, + 109, + -35, + -27, + -2, + 59, + -84 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/input-1.json new file mode 100644 index 000000000..bf1a47969 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/input-1.json @@ -0,0 +1,19 @@ +{ + "type": "int32", + "data": [ + [ + 6, + 7, + 4, + 2, + 2, + 3, + 7, + 1, + 3, + 4, + 2, + 6 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/test.json new file mode 100644 index 000000000..20edd3565 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongOutputList_11x12_i8_roundFalse/test.json @@ -0,0 +1,63 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 12 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |