diff options
Diffstat (limited to 'operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32')
3 files changed, 147 insertions, 0 deletions
diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/desc.json @@ -0,0 +1,21 @@ +{ + "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-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/input-0.json new file mode 100644 index 000000000..5acf38985 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/input-0.json @@ -0,0 +1,64 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.3665992319583893, + 0.507358193397522, + 0.195450559258461, + 0.19410566985607147, + 0.6504512429237366, + 0.10837525129318237, + 0.6678407192230225, + 0.4007018506526947, + 0.6712709069252014 + ], + [ + 0.38172948360443115, + 0.8460521697998047, + 0.055556170642375946, + 0.8932973146438599, + 0.26866117119789124, + 0.04254221171140671, + 0.5624043941497803, + 0.22435423731803894, + 0.4592031240463257 + ], + [ + 0.8023142218589783, + 0.7915467619895935, + 0.6003856062889099, + 0.9778718948364258, + 0.4637511074542999, + 0.03938839212059975, + 0.8194251656532288, + 0.2212938666343689, + 0.1762388050556183 + ], + [ + 0.07000992447137833, + 0.3278999328613281, + 0.32615897059440613, + 0.30277153849601746, + 0.5931929349899292, + 0.7515421509742737, + 0.9377667307853699, + 0.0940500795841217, + 0.15038183331489563 + ], + [ + 0.5898424983024597, + 0.09813559055328369, + 0.37076428532600403, + 0.6245522499084473, + 0.7805450558662415, + 0.2175992876291275, + 0.6679855585098267, + 0.6458696722984314, + 0.8596161007881165 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/test.json new file mode 100644 index 000000000..6ca2a302d --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 5, + 9 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 5, + 9 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |