diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:35 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:35 +0100 |
commit | 2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98 (patch) | |
tree | c35cd33501bcda69665850d66dd4cc9d6e77282d /operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8 | |
parent | d53378c6e205afdc2a538ac438ecc717ccc2718c (diff) | |
download | conformance_tests-2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98.tar.gz |
Updating BITWISE_XOR tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Idcf196641a1ed84b4acc1d8d1bccf70840c4b1d1
Diffstat (limited to 'operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8')
5 files changed, 989 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/Conformance-result-0.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/Conformance-result-0.json new file mode 100644 index 000000000..42c18eb58 --- /dev/null +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/Conformance-result-0.json @@ -0,0 +1,428 @@ +{ + "type": "int32", + "data": [ + [ + 75, + 86, + 119, + -96, + -7, + -115, + 45, + -33, + -117, + 3, + 6, + 43, + 16, + -26, + 58, + 62, + 105, + 75, + -67, + -68, + 120, + -22, + 17, + -119, + 28, + 39, + 85, + -77, + 117, + -87, + -96, + -114, + -5, + -51, + 31, + -12, + 29, + -103, + -12, + -56, + -16, + 50, + -67, + -69, + 105 + ], + [ + -37, + 125, + -38, + 50, + 28, + 110, + 11, + 102, + -43, + 0, + -37, + -31, + 69, + -80, + -7, + -93, + -68, + 115, + 3, + 85, + -109, + -44, + 66, + -115, + -19, + 66, + -86, + -128, + 98, + -95, + 85, + -99, + -82, + -8, + -35, + -14, + -19, + -49, + -68, + -31, + -28, + 72, + -62, + -46, + -44 + ], + [ + 19, + 106, + -76, + 84, + 6, + -67, + 84, + 76, + 91, + 63, + -113, + 127, + 95, + 4, + -1, + 79, + 19, + 92, + 6, + -97, + 33, + -83, + 4, + -128, + 65, + -114, + 120, + -21, + -100, + 116, + -112, + -81, + 126, + 43, + 97, + 120, + -63, + 22, + 103, + 100, + 122, + -43, + 67, + 122, + 115 + ], + [ + 83, + 118, + 24, + 45, + 120, + -91, + -99, + 80, + -77, + 89, + 78, + -61, + -71, + 58, + 33, + 9, + -56, + -11, + -27, + 32, + -67, + -88, + -85, + -87, + 45, + -37, + -126, + 7, + -32, + 52, + 50, + -10, + -128, + 80, + 22, + -91, + -97, + 26, + 103, + -42, + -33, + -78, + 59, + 93, + -32 + ], + [ + -68, + -67, + -6, + 49, + 86, + 72, + 86, + -16, + 24, + 31, + -113, + -4, + 90, + 110, + -85, + -13, + -104, + 116, + -107, + 126, + 62, + -68, + 114, + 127, + 78, + 22, + 109, + 59, + -113, + -95, + 82, + -115, + -20, + -61, + -12, + 85, + 42, + 44, + -88, + -49, + 124, + -68, + -64, + -32, + -69 + ], + [ + -9, + -38, + 58, + -49, + -122, + -7, + -31, + 98, + 79, + 31, + -15, + -44, + -19, + 111, + 74, + 69, + 119, + -76, + -51, + -11, + 35, + -73, + 108, + -41, + 12, + 1, + 73, + -6, + 119, + -16, + 36, + -103, + -113, + 54, + -7, + 46, + -33, + 5, + -102, + -3, + 67, + -121, + 127, + -22, + 23 + ], + [ + -16, + 31, + 114, + 111, + 58, + 74, + 108, + -65, + 105, + 89, + -30, + -18, + 32, + 57, + -35, + -29, + 10, + -126, + -72, + 118, + 120, + 94, + -9, + 117, + 19, + -28, + -65, + -27, + 99, + 43, + -124, + -71, + 15, + 44, + 98, + 114, + 101, + -127, + 20, + -19, + -32, + -10, + 106, + 55, + 114 + ], + [ + 39, + -105, + 6, + 57, + 127, + -25, + -77, + -84, + -85, + 65, + 68, + 80, + 57, + 126, + 83, + -41, + 21, + -127, + 36, + -124, + 88, + -75, + 2, + -26, + -112, + -80, + -74, + -72, + -82, + -113, + 4, + -106, + 50, + 37, + -10, + 61, + -102, + -102, + -77, + -63, + -97, + -8, + 80, + -92, + -113 + ], + [ + 18, + -19, + 76, + 63, + 71, + -125, + -110, + 49, + 9, + 62, + -28, + -37, + 49, + -73, + -7, + 10, + 5, + -50, + -8, + -108, + 54, + 116, + -69, + -10, + 91, + -47, + -20, + 80, + 23, + 108, + -17, + -125, + -14, + 90, + -12, + 10, + -127, + -74, + 32, + 43, + -16, + -81, + 43, + -61, + -112 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/desc.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/desc.json @@ -0,0 +1,22 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/input-0.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/input-0.json new file mode 100644 index 000000000..2a90d2cfe --- /dev/null +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/input-0.json @@ -0,0 +1,52 @@ +{ + "type": "int32", + "data": [ + [ + -93, + -66, + -99, + -16, + 43, + 39, + -8, + 90, + 16, + -108, + 67, + 19, + 34, + 16, + 13, + -105, + 15, + 75, + -51, + 26, + -121, + -40, + -17, + 123, + -74, + -58, + -24, + 126, + 90, + -120, + -69, + 82, + -114, + 91, + -56, + 106, + -53, + -17, + 41, + -96, + 14, + 1, + 72, + 127, + 42 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/input-1.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/input-1.json new file mode 100644 index 000000000..349b05b4a --- /dev/null +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/input-1.json @@ -0,0 +1,428 @@ +{ + "type": "int32", + "data": [ + [ + -24, + -24, + -22, + 80, + -46, + -86, + -43, + -123, + -101, + -105, + 69, + 56, + 50, + -10, + 55, + -87, + 102, + 0, + 112, + -90, + -1, + 50, + -2, + -14, + -86, + -31, + -67, + -51, + 47, + 33, + 27, + -36, + 117, + -106, + -41, + -98, + -42, + 118, + -35, + 104, + -2, + 51, + -11, + -60, + 67 + ], + [ + 120, + -61, + 71, + -62, + 55, + 73, + -13, + 60, + -59, + -108, + -104, + -14, + 103, + -96, + -12, + 52, + -77, + 56, + -50, + 79, + 20, + 12, + -83, + -10, + 91, + -124, + 66, + -2, + 56, + 41, + -18, + -49, + 32, + -93, + 21, + -104, + 38, + 32, + -107, + 65, + -22, + 73, + -118, + -83, + -2 + ], + [ + -80, + -44, + 41, + -92, + 45, + -102, + -84, + 22, + 75, + -85, + -52, + 108, + 125, + 20, + -14, + -40, + 28, + 23, + -53, + -123, + -90, + 117, + -21, + -5, + -9, + 72, + -112, + -107, + -58, + -4, + 43, + -3, + -16, + 112, + -87, + 18, + 10, + -7, + 78, + -60, + 116, + -44, + 11, + 5, + 89 + ], + [ + -16, + -56, + -123, + -35, + 83, + -126, + 101, + 10, + -93, + -51, + 13, + -48, + -101, + 42, + 44, + -98, + -57, + -66, + 40, + 58, + 58, + 112, + 68, + -46, + -101, + 29, + 106, + 121, + -70, + -68, + -119, + -92, + 14, + 11, + -34, + -49, + 84, + -11, + 78, + 118, + -47, + -77, + 115, + 34, + -54 + ], + [ + 31, + 3, + 103, + -63, + 125, + 111, + -82, + -86, + 8, + -117, + -52, + -17, + 120, + 126, + -90, + 100, + -105, + 63, + 88, + 100, + -71, + 100, + -99, + 4, + -8, + -48, + -123, + 69, + -43, + 41, + -23, + -33, + 98, + -104, + 60, + 63, + -31, + -61, + -127, + 111, + 114, + -67, + -120, + -97, + -111 + ], + [ + 84, + 100, + -89, + 63, + -83, + -34, + 25, + 56, + 95, + -117, + -78, + -57, + -49, + 127, + 71, + -46, + 120, + -1, + 0, + -17, + -92, + 111, + -125, + -84, + -70, + -57, + -95, + -124, + 45, + 120, + -97, + -53, + 1, + 109, + 49, + 68, + 20, + -22, + -77, + 93, + 77, + -122, + 55, + -107, + 61 + ], + [ + 83, + -95, + -17, + -97, + 17, + 109, + -108, + -27, + 121, + -51, + -95, + -3, + 2, + 41, + -48, + 116, + 5, + -55, + 117, + 108, + -1, + -122, + 24, + 14, + -91, + 34, + 87, + -101, + 57, + -93, + 63, + -21, + -127, + 119, + -86, + 24, + -82, + 110, + 61, + 77, + -18, + -9, + 34, + 72, + 88 + ], + [ + -124, + 41, + -101, + -55, + 84, + -64, + 75, + -10, + -69, + -43, + 7, + 67, + 27, + 110, + 94, + 64, + 26, + -54, + -23, + -98, + -33, + 109, + -19, + -99, + 38, + 118, + 94, + -58, + -12, + 7, + -65, + -60, + -68, + 126, + 62, + 87, + 81, + 117, + -102, + 97, + -111, + -7, + 24, + -37, + -91 + ], + [ + -79, + 83, + -47, + -49, + 108, + -92, + 106, + 107, + 25, + -86, + -89, + -56, + 19, + -89, + -12, + -99, + 10, + -123, + 53, + -114, + -79, + -84, + 84, + -115, + -19, + 23, + 4, + 46, + 77, + -28, + 84, + -47, + 124, + 1, + 60, + 96, + 74, + 89, + 9, + -117, + -2, + -82, + 99, + -68, + -70 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json new file mode 100644 index 000000000..458f4262f --- /dev/null +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json @@ -0,0 +1,59 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 45 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 9, + 45 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 9, + 45 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |