diff options
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48')
3 files changed, 225 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/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 input list does not match expected input", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/input-0.json new file mode 100644 index 000000000..94d80dd7c --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/input-0.json @@ -0,0 +1,50 @@ +{ + "type": "int32", + "data": [ + [ + -27426, + 5788, + 21857, + -22322, + 11378, + 16143, + 16922, + -18454, + 10486, + 3926, + -5262, + -715, + 30443 + ], + [ + -30543, + 8022, + 4458, + 1657, + 25323, + 3702, + 21290, + 17276, + 20624, + 7148, + -31641, + -27948, + 1240 + ], + [ + -14582, + -16539, + 866, + -1843, + -21947, + -2811, + 23316, + -23213, + 18127, + 19343, + 16813, + -22661, + -2120 + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/test.json new file mode 100644 index 000000000..c7ae5e352 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_3x13_i16xi8_acci48/test.json @@ -0,0 +1,153 @@ +{ + 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: 0, + weight_zp: 127, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 13 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 3, + 13 + ], + type: "INT8", + data: [ + 108, + 202, + 255, + 86, + 20, + 218, + 158, + 14, + 254, + 202, + 208, + 123, + 30, + 53, + 143, + 118, + 208, + 117, + 114, + 181, + 212, + 59, + 0, + 247, + 231, + 33, + 42, + 247, + 19, + 142, + 225, + 46, + 65, + 252, + 44, + 162, + 29, + 39, + 13 + ] + }, + { + name: "const-2", + shape: [ + 3 + ], + type: "INT48", + data: [ + 67, + 232, + 80, + 183, + 102, + 96, + 207, + 242, + 113, + 195, + 103, + 133, + 238, + 18, + 226, + 220, + 193, + 235 + ] + }, + { + name: "result-0", + shape: [ + 3, + 3 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |