diff options
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32')
3 files changed, 450 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/desc.json new file mode 100644 index 000000000..2b74f86d0 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/desc.json @@ -0,0 +1,22 @@ +{ + "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": 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/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/input-0.json new file mode 100644 index 000000000..bed12f41c --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/input-0.json @@ -0,0 +1,173 @@ +{ + "type": "int32", + "data": [ + [ + -127, + 106, + -101, + 35, + -15, + 89, + 15, + 98, + 50, + 83, + 15, + -108 + ], + [ + 34, + -31, + -99, + -17, + -16, + 126, + 53, + 71, + -45, + -18, + -63, + 3 + ], + [ + -58, + -50, + -31, + 114, + -128, + 93, + 103, + -64, + -76, + -62, + 91, + -90 + ], + [ + -114, + -88, + -57, + 46, + 11, + -4, + -92, + 66, + 124, + -30, + 15, + -52 + ], + [ + 78, + 19, + -57, + -49, + -80, + 113, + 88, + -19, + -72, + -77, + -30, + -107 + ], + [ + 61, + -106, + -69, + -27, + 39, + -19, + 116, + -33, + 9, + -6, + -59, + 28 + ], + [ + 112, + -80, + 106, + 83, + 31, + 59, + 64, + -41, + 64, + -16, + -15, + 107 + ], + [ + -61, + -108, + -111, + -24, + -116, + 109, + -115, + 73, + -67, + 58, + -100, + 114 + ], + [ + -116, + -37, + 21, + 33, + -41, + -116, + 127, + 94, + 42, + -43, + 112, + -83 + ], + [ + -112, + 75, + -61, + 64, + 72, + -94, + 30, + -13, + -36, + -8, + 87, + -94 + ], + [ + 0, + 57, + 106, + 14, + 12, + -83, + 22, + 120, + -49, + -3, + -108, + -56 + ], + [ + -125, + 97, + -55, + 111, + 89, + -86, + -42, + -15, + 85, + 118, + 125, + -9 + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json new file mode 100644 index 000000000..1fc814d9d --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json @@ -0,0 +1,255 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "FULLY_CONNECTED", + attribute_type: "FullyConnectedAttribute", + attribute: { + input_zp: -85, + weight_zp: -59, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 10, + 12 + ], + type: "INT8", + data: [ + 238, + 164, + 239, + 176, + 89, + 220, + 15, + 186, + 85, + 63, + 51, + 88, + 223, + 115, + 37, + 152, + 135, + 65, + 0, + 111, + 150, + 53, + 13, + 146, + 79, + 144, + 168, + 107, + 229, + 84, + 11, + 250, + 179, + 160, + 136, + 135, + 128, + 115, + 193, + 97, + 206, + 2, + 246, + 84, + 89, + 159, + 234, + 97, + 149, + 81, + 211, + 51, + 206, + 8, + 17, + 188, + 38, + 152, + 128, + 43, + 10, + 23, + 191, + 139, + 66, + 201, + 214, + 95, + 106, + 219, + 229, + 121, + 217, + 16, + 162, + 95, + 172, + 208, + 44, + 92, + 18, + 90, + 12, + 249, + 162, + 221, + 155, + 195, + 240, + 112, + 116, + 19, + 235, + 217, + 103, + 222, + 119, + 244, + 156, + 231, + 108, + 227, + 56, + 126, + 152, + 98, + 58, + 40, + 254, + 47, + 163, + 109, + 188, + 167, + 53, + 147, + 209, + 190, + 115, + 192 + ] + }, + { + name: "const-2", + shape: [ + 10 + ], + type: "INT32", + data: [ + 158, + 228, + 249, + 81, + 170, + 186, + 175, + 20, + 73, + 187, + 209, + 13, + 223, + 203, + 211, + 47, + 19, + 92, + 51, + 32, + 202, + 185, + 87, + 194, + 1, + 91, + 64, + 107, + 222, + 211, + 81, + 137, + 44, + 60, + 16, + 210, + 123, + 199, + 224, + 205 + ] + }, + { + name: "result-0", + shape: [ + 12, + 10 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |