From 81e1634bb20b64da3647bd4c7e60e7f10f422272 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 7 Feb 2023 15:13:08 +0000 Subject: Regen various ERRORIF tests for tosa_mi after adjustment NEGATE, TILE, REDUCE_MIN, REDUCE_MAX, RESIZE, SCATTER, GATHER Signed-off-by: Jeremy Johnson Change-Id: I02a2a6591f82cf6975abc610c059912c97405c51 --- .../desc.json | 21 - .../input-0.json | 15 - .../test.json | 56 - .../desc.json | 21 + .../input-0.json | 6 + .../test.json | 56 + .../desc.json | 21 + .../input-0.json | 23 + .../test.json | 58 + .../desc.json | 21 - .../input-0.json | 15 - .../test.json | 57 - .../desc.json | 21 + .../input-0.json | 10 + .../test.json | 60 + .../desc.json | 21 + .../input-0.json | 357 ++++++ .../test.json | 62 + .../desc.json | 21 - .../input-0.json | 15 - .../test.json | 57 - .../desc.json | 21 + .../input-0.json | 64 + .../test.json | 62 + .../desc.json | 21 - .../input-0.json | 1240 -------------------- .../test.json | 62 - .../desc.json | 21 + .../input-0.json | 941 +++++++++++++++ .../test.json | 62 + 30 files changed, 1887 insertions(+), 1601 deletions(-) delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/desc.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/input-0.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/desc.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/input-0.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/test.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/desc.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/input-0.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/test.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/desc.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/input-0.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/desc.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/input-0.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/test.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/desc.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/input-0.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/test.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/desc.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/input-0.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/desc.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/input-0.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_1x1x5x9_f32/test.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/desc.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/input-0.json delete mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/desc.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/input-0.json create mode 100644 operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/test.json (limited to 'operators/ew_unary/negate') diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/desc.json deleted file mode 100644 index e88131037..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/desc.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "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": "Input DType not INT8 and zero point not 0", - "profile": [ - "tosa-mi" - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/input-0.json deleted file mode 100644 index fed6a9314..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/input-0.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "float16", - "data": [ - 0.62744140625, - 0.583984375, - 0.64990234375, - 0.08447265625, - 0.415771484375, - 0.0416259765625, - 0.493896484375, - 0.329833984375, - 0.14453125, - 0.1033935546875 - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json deleted file mode 100644 index a955a3d26..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_10_f16/test.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - version: { - _major: 0, - _minor: 51, - _patch: 0, - _draft: true - }, - regions: [ - { - name: "main", - blocks: [ - { - name: "main", - operators: [ - { - op: "NEGATE", - attribute_type: "NegateAttribute", - attribute: { - input1_zp: 41, - output_zp: 0 - }, - inputs: [ - "input-0" - ], - outputs: [ - "result-0" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" - ] - } - ] - } - ] -} diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/desc.json new file mode 100644 index 000000000..e88131037 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/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": "Input DType not INT8 and zero point not 0", + "profile": [ + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/input-0.json new file mode 100644 index 000000000..4afef52fd --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/input-0.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -2899 + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/test.json b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/test.json new file mode 100644 index 000000000..7675ed38e --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_InputZeroPointNotZero_1_i16/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: -96, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/desc.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/desc.json new file mode 100644 index 000000000..23599279c --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/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": "Output DType not INT8 and zero point not 0", + "profile": [ + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/input-0.json new file mode 100644 index 000000000..7a513027c --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/input-0.json @@ -0,0 +1,23 @@ +{ + "type": "int32", + "data": [ + [ + -855071760, + 2128885583, + -1059499166, + -880210210, + 920147288, + 1241474382, + -1595219129 + ], + [ + 238621801, + -662828460, + 480007067, + 243655216, + 2086723606, + 1862585859, + 661369986 + ] + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/test.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/test.json new file mode 100644 index 000000000..921706972 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_2x7_i32/test.json @@ -0,0 +1,58 @@ +{ + 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: 52 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 7 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/desc.json deleted file mode 100644 index b4526f1cb..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/desc.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "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-mi" - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/input-0.json deleted file mode 100644 index 0895d52e7..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/input-0.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "float32", - "data": [ - 0.79296875, - 0.50390625, - 0.58984375, - 0.28125, - 0.96875, - 0.984375, - 0.365234375, - 0.78515625, - 0.80078125, - 0.91015625 - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json deleted file mode 100644 index faf0cc5e9..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_10_bf16/test.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - 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", - "eiDummyInput" - ], - outputs: [ - "result-0" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" - ] - } - ] - } - ] -} diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/desc.json new file mode 100644 index 000000000..b4526f1cb --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/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 input list does not match expected input", + "profile": [ + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/input-0.json new file mode 100644 index 000000000..7fbd9c114 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/input-0.json @@ -0,0 +1,10 @@ +{ + "type": "float16", + "data": [ + [ + [ + 0.229736328125 + ] + ] + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/test.json new file mode 100644 index 000000000..07653bc97 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputList_1x1x1_f16/test.json @@ -0,0 +1,60 @@ +{ + 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: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/desc.json new file mode 100644 index 000000000..15cad4b15 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/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": "Input data type not supported for this operator", + "profile": [ + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/input-0.json new file mode 100644 index 000000000..25d6b43bd --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/input-0.json @@ -0,0 +1,357 @@ +{ + "type": "int64", + "data": [ + [ + [ + [ + 322806743421, + -47948847875587, + 132222652656938, + -7109567664718, + -35986432149248, + 48741735085868 + ], + [ + 42374666372423, + -140050891960065, + 33347381470026, + -72122621859434, + -35118607828314, + 58082049213860 + ], + [ + 16152785222498, + -36970290240009, + -93615663470851, + 1543098527884, + -50843944326464, + 116228845254845 + ], + [ + 9667719775449, + 103009706736055, + -30911292449992, + 92165368051419, + -124823765133150, + -56824442576568 + ], + [ + -118732919422238, + -131828754475721, + 117899240747297, + 61043124779169, + 35215352482531, + 9145912772459 + ], + [ + 19577720724267, + 39037871870744, + 91924040118641, + 27271703986075, + 69969264507352, + -61649197760348 + ] + ], + [ + [ + 134196499048423, + -131759222353381, + -31925850202761, + 107537388611821, + -89924791637494, + -100954351938499 + ], + [ + -37877871752818, + -20211394999728, + 121989583131296, + 94609238204161, + -10107868394734, + 133130655505369 + ], + [ + 40047810497101, + 105175582882336, + -71478605503305, + -3106336929393, + -132372836417921, + -138237936162469 + ], + [ + 57829940579065, + -107440793726804, + 13456822427344, + 55171201490179, + -131664258947063, + -14428013481690 + ], + [ + 51834162174311, + 109699520729864, + -56511702757350, + 133480086648704, + 96979810592567, + 42400003406047 + ], + [ + -30420265330912, + 59422288224131, + 89000493047643, + -55366163135290, + 138719331042017, + 115016127585209 + ] + ], + [ + [ + -4080981741814, + 62721045353316, + 6757903053670, + 73445421102756, + 92037308221353, + -134200920183338 + ], + [ + -118463802138271, + -46030330307532, + 117547787519243, + -28633440815573, + 109074991749056, + -10573913567088 + ], + [ + -59432619337823, + 112771593571752, + 17077303268402, + -39270179807190, + -128238028043399, + -109512587483025 + ], + [ + -101525117126875, + -38045202008801, + 30211541218425, + -54158568061988, + -122293099167477, + -66200455186154 + ], + [ + -25703830186288, + 138561666708400, + -30121508492965, + -115631209940694, + 22831790514939, + 118118179669342 + ], + [ + 80697665160156, + 94637040748173, + 120536534834665, + 38433579435435, + 139308364084267, + -131369559248560 + ] + ], + [ + [ + 94248990044312, + 100489569889234, + 117290732785045, + -6144751403531, + 80996091899461, + -85827237555989 + ], + [ + 29028577730202, + -39787852446434, + 27070476080258, + 49415889663693, + -43046343465949, + -79871818095101 + ], + [ + -50190391701048, + 46149861748160, + 49785670803769, + 67924678947270, + -105120599404281, + 89654675003813 + ], + [ + 52958898056901, + -132151072604274, + -46275091501451, + -9369948468452, + -39232688647245, + -107687572481428 + ], + [ + -82374697753241, + -133824070295018, + -114538596531322, + -65780668920767, + 90063623067919, + 7497792489203 + ], + [ + -21251954459327, + 45644810874064, + 11684184000727, + -103719608884662, + -78074582207667, + -78103011977897 + ] + ], + [ + [ + 28134131159730, + -10801780633111, + -31641991897614, + 15942509867812, + 132325829854457, + -52299892629360 + ], + [ + 5684509211655, + -5525349389404, + 60979592315187, + 64820947817182, + 64477675974828, + -84014769285329 + ], + [ + -14329008257148, + 87587888910372, + -33346292487988, + 136305697861198, + -38059148705013, + -656729719582 + ], + [ + -7170407609671, + -18671979655044, + 97286581348237, + -97031394482760, + 19045921662009, + 33383376223964 + ], + [ + 98860009509112, + 30737112472001, + 129484216679993, + 104755898141103, + -42575919514668, + 101304658306252 + ], + [ + 129050032044307, + -68342917844534, + 31021021289173, + -61416738691854, + 42099446396343, + -114379382126335 + ] + ], + [ + [ + 65918068001507, + -22568711878783, + 24574786084623, + -133457869207345, + 55011879053623, + -1128333501424 + ], + [ + 35255024471921, + -51884853182445, + -99692758437592, + -18175137047819, + 124969012824096, + -76619170008122 + ], + [ + 49494281817447, + -126707777959029, + 61389631978607, + -73623386753424, + -13646734342813, + -37224192930143 + ], + [ + -108975755348053, + -43464816320453, + -42186073873935, + 6222184231073, + 132955136733525, + -8439317153049 + ], + [ + 116650592504982, + -10820557160808, + -110466740246168, + -75955207517643, + -26031459977835, + -49154320561171 + ], + [ + 102971790188283, + 50284266717735, + 22041869680056, + -2468661861395, + -28915750324585, + 31579364388827 + ] + ], + [ + [ + -105663689363890, + -94988462987266, + -55417819842373, + -92553302423725, + 49848857812997, + -133765825664344 + ], + [ + -95651532618859, + 113324108244696, + 140045946058358, + -3492969964328, + -1303208588373, + 76954910233505 + ], + [ + -130551027837409, + -20541626682301, + -112638437646389, + -27886744134407, + 136183741463856, + 71391421807173 + ], + [ + 136528276562096, + 69256531180321, + 30430279943946, + 71556803027559, + 44780324944367, + -10114513396482 + ], + [ + -58393015804424, + 5679618781203, + -67978043809067, + -3750275074898, + -99604028377089, + 18407083959583 + ], + [ + -71696267196488, + -58094154136315, + -273553769169, + -94990415071209, + 130148366977896, + -14933847589159 + ] + ] + ] + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/test.json new file mode 100644 index 000000000..0cce5d8ab --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongInputType_1x7x6x6_i48/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: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 7, + 6, + 6 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 6, + 6 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/desc.json deleted file mode 100644 index 671c6cfc2..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/desc.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "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_10_bf16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/input-0.json deleted file mode 100644 index 0d5f6603b..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/input-0.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "float32", - "data": [ - 0.09326171875, - 0.66015625, - 0.0595703125, - 0.294921875, - 0.10107421875, - 0.6640625, - 0.466796875, - 0.36328125, - 0.47265625, - 0.1611328125 - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json deleted file mode 100644 index fec98e2b8..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputList_10_bf16/test.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - 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: [ - "result-0", - "eiDummyOutput" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" - ] - } - ] - } - ] -} 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" + ] + } + ] + } + ] +} diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/desc.json deleted file mode 100644 index d57e8394e..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/desc.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "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": "Output data type not supported for this configuration of operator", - "profile": [ - "tosa-mi" - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/input-0.json deleted file mode 100644 index 06855fed4..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/input-0.json +++ /dev/null @@ -1,1240 +0,0 @@ -{ - "type": "float16", - "data": [ - [ - [ - [ - 0.52734375, - 0.896484375, - 0.0634765625, - 0.73193359375, - 0.86279296875 - ], - [ - 0.5205078125, - 0.9609375, - 0.231689453125, - 0.72119140625, - 0.4248046875 - ], - [ - 0.379150390625, - 0.63623046875, - 0.609375, - 0.3671875, - 0.37548828125 - ], - [ - 0.47998046875, - 0.99267578125, - 0.79833984375, - 0.3662109375, - 0.36328125 - ], - [ - 0.89697265625, - 0.779296875, - 0.6533203125, - 0.71435546875, - 0.0570068359375 - ], - [ - 0.0926513671875, - 0.315673828125, - 0.47265625, - 0.7109375, - 0.7822265625 - ], - [ - 0.884765625, - 0.27099609375, - 0.748046875, - 0.99462890625, - 0.2081298828125 - ], - [ - 0.0697021484375, - 0.896484375, - 0.1348876953125, - 0.7197265625, - 0.38720703125 - ], - [ - 0.35546875, - 0.9404296875, - 0.35107421875, - 0.40771484375, - 0.0157012939453125 - ], - [ - 0.18359375, - 0.361572265625, - 0.666015625, - 0.06390380859375, - 0.349609375 - ], - [ - 0.365234375, - 0.791015625, - 0.27490234375, - 0.89208984375, - 0.94384765625 - ], - [ - 0.2215576171875, - 0.377685546875, - 0.7333984375, - 0.2685546875, - 0.826171875 - ], - [ - 0.97412109375, - 0.63134765625, - 0.1612548828125, - 0.0019350051879882812, - 0.409912109375 - ] - ] - ], - [ - [ - [ - 0.2269287109375, - 0.77392578125, - 0.4697265625, - 0.63232421875, - 0.6064453125 - ], - [ - 0.036285400390625, - 0.7080078125, - 0.82568359375, - 0.47119140625, - 0.58203125 - ], - [ - 0.143798828125, - 0.65869140625, - 0.939453125, - 0.7119140625, - 0.01447296142578125 - ], - [ - 0.309326171875, - 0.9541015625, - 0.66845703125, - 0.32470703125, - 0.6005859375 - ], - [ - 0.163330078125, - 0.9248046875, - 0.389892578125, - 0.192138671875, - 0.07489013671875 - ], - [ - 0.03497314453125, - 0.64501953125, - 0.681640625, - 0.65869140625, - 0.314208984375 - ], - [ - 0.79248046875, - 0.83984375, - 0.60302734375, - 0.61572265625, - 0.1925048828125 - ], - [ - 0.85791015625, - 0.0845947265625, - 0.80224609375, - 0.418701171875, - 0.09814453125 - ], - [ - 0.0614013671875, - 0.98828125, - 0.56884765625, - 0.4443359375, - 0.92529296875 - ], - [ - 0.463134765625, - 0.84716796875, - 0.853515625, - 0.75, - 0.0950927734375 - ], - [ - 0.95458984375, - 0.62744140625, - 0.408447265625, - 0.7666015625, - 0.07391357421875 - ], - [ - 0.178466796875, - 0.677734375, - 0.62939453125, - 0.5244140625, - 0.6748046875 - ], - [ - 0.94970703125, - 0.1302490234375, - 0.3427734375, - 0.29345703125, - 0.93505859375 - ] - ] - ], - [ - [ - [ - 0.187255859375, - 0.36767578125, - 0.90576171875, - 0.669921875, - 0.031158447265625 - ], - [ - 0.96044921875, - 0.060150146484375, - 0.52197265625, - 0.2421875, - 0.6318359375 - ], - [ - 0.28369140625, - 0.8173828125, - 0.5654296875, - 0.31298828125, - 0.86572265625 - ], - [ - 0.77734375, - 0.4931640625, - 0.4912109375, - 0.4677734375, - 0.5400390625 - ], - [ - 0.8583984375, - 0.07379150390625, - 0.388427734375, - 0.75, - 0.9638671875 - ], - [ - 0.1531982421875, - 0.04345703125, - 0.80517578125, - 0.97021484375, - 0.71484375 - ], - [ - 0.55419921875, - 0.2333984375, - 0.95849609375, - 0.72216796875, - 0.6943359375 - ], - [ - 0.8818359375, - 0.87548828125, - 0.0806884765625, - 0.01995849609375, - 0.22265625 - ], - [ - 0.91015625, - 0.53369140625, - 0.6474609375, - 0.345947265625, - 0.4248046875 - ], - [ - 0.300048828125, - 0.9404296875, - 0.412109375, - 0.8359375, - 0.1553955078125 - ], - [ - 0.317138671875, - 0.181396484375, - 0.29345703125, - 0.66748046875, - 0.1414794921875 - ], - [ - 0.5361328125, - 0.003124237060546875, - 0.98291015625, - 0.03558349609375, - 0.75439453125 - ], - [ - 0.869140625, - 0.99609375, - 0.64990234375, - 0.6064453125, - 0.5576171875 - ] - ] - ], - [ - [ - [ - 0.7646484375, - 0.87060546875, - 0.52783203125, - 0.72021484375, - 0.96240234375 - ], - [ - 0.11187744140625, - 0.58984375, - 0.0673828125, - 0.435546875, - 0.72607421875 - ], - [ - 0.38037109375, - 0.10009765625, - 0.830078125, - 0.2440185546875, - 0.50244140625 - ], - [ - 0.1497802734375, - 0.9892578125, - 0.3828125, - 0.82177734375, - 0.384521484375 - ], - [ - 0.349609375, - 0.240478515625, - 0.404541015625, - 0.87548828125, - 0.66162109375 - ], - [ - 0.0531005859375, - 0.541015625, - 0.497802734375, - 0.68701171875, - 0.75537109375 - ], - [ - 0.56591796875, - 0.8759765625, - 0.64208984375, - 0.338134765625, - 0.376220703125 - ], - [ - 0.8583984375, - 0.259765625, - 0.142578125, - 0.75244140625, - 0.427490234375 - ], - [ - 0.2266845703125, - 0.82958984375, - 0.1849365234375, - 0.732421875, - 0.340087890625 - ], - [ - 0.71240234375, - 0.77294921875, - 0.1572265625, - 0.82470703125, - 0.61865234375 - ], - [ - 0.85888671875, - 0.03143310546875, - 0.7568359375, - 0.98583984375, - 0.703125 - ], - [ - 0.91796875, - 0.414794921875, - 0.70166015625, - 0.5673828125, - 0.335205078125 - ], - [ - 0.623046875, - 0.36083984375, - 0.94921875, - 0.7978515625, - 0.87109375 - ] - ] - ], - [ - [ - [ - 0.6357421875, - 0.84033203125, - 0.366943359375, - 0.66162109375, - 0.333740234375 - ], - [ - 0.59423828125, - 0.0714111328125, - 0.7919921875, - 0.421630859375, - 0.98388671875 - ], - [ - 0.8583984375, - 0.6142578125, - 0.265869140625, - 0.6298828125, - 0.7568359375 - ], - [ - 0.47216796875, - 0.59228515625, - 0.87646484375, - 0.13720703125, - 0.49951171875 - ], - [ - 0.86572265625, - 0.39111328125, - 0.88427734375, - 0.55810546875, - 0.4013671875 - ], - [ - 0.99169921875, - 0.161865234375, - 0.34716796875, - 0.2198486328125, - 0.98291015625 - ], - [ - 0.1502685546875, - 0.11932373046875, - 0.263916015625, - 0.6083984375, - 0.264892578125 - ], - [ - 0.3271484375, - 0.5341796875, - 0.63623046875, - 0.57958984375, - 0.61474609375 - ], - [ - 0.6708984375, - 0.87744140625, - 0.67529296875, - 0.720703125, - 0.396484375 - ], - [ - 0.94482421875, - 0.80810546875, - 0.5830078125, - 0.448486328125, - 0.0189208984375 - ], - [ - 0.986328125, - 0.1414794921875, - 0.50927734375, - 0.341796875, - 0.326171875 - ], - [ - 0.41943359375, - 0.572265625, - 0.01000213623046875, - 0.154052734375, - 0.61328125 - ], - [ - 0.7392578125, - 0.67529296875, - 0.9912109375, - 0.0477294921875, - 0.51513671875 - ] - ] - ], - [ - [ - [ - 0.41845703125, - 0.198974609375, - 0.890625, - 0.1435546875, - 0.50439453125 - ], - [ - 0.192138671875, - 0.4365234375, - 0.79052734375, - 0.70068359375, - 0.7001953125 - ], - [ - 0.215087890625, - 0.022857666015625, - 0.72021484375, - 0.10614013671875, - 0.39013671875 - ], - [ - 0.84375, - 0.409423828125, - 0.46533203125, - 0.9580078125, - 0.9091796875 - ], - [ - 0.09088134765625, - 0.86669921875, - 0.49462890625, - 0.7978515625, - 0.35205078125 - ], - [ - 0.95703125, - 0.79638671875, - 0.449462890625, - 0.36083984375, - 0.2110595703125 - ], - [ - 0.275390625, - 0.442138671875, - 0.354248046875, - 0.64404296875, - 0.6357421875 - ], - [ - 0.1934814453125, - 0.2607421875, - 0.045196533203125, - 0.382568359375, - 0.473388671875 - ], - [ - 0.1051025390625, - 0.08514404296875, - 0.267822265625, - 0.491455078125, - 0.9833984375 - ], - [ - 0.9150390625, - 0.3984375, - 0.55615234375, - 0.5595703125, - 0.343017578125 - ], - [ - 0.85693359375, - 0.29150390625, - 0.427001953125, - 0.90673828125, - 0.345947265625 - ], - [ - 0.51123046875, - 0.87060546875, - 0.327392578125, - 0.9619140625, - 0.2034912109375 - ], - [ - 0.68408203125, - 0.060028076171875, - 0.537109375, - 0.159423828125, - 0.62841796875 - ] - ] - ], - [ - [ - [ - 0.61669921875, - 0.41650390625, - 0.9248046875, - 0.8916015625, - 0.73486328125 - ], - [ - 0.7197265625, - 0.0682373046875, - 0.323486328125, - 0.203125, - 0.388427734375 - ], - [ - 0.10919189453125, - 0.318359375, - 0.57080078125, - 0.1661376953125, - 0.10577392578125 - ], - [ - 0.70654296875, - 0.2469482421875, - 0.478271484375, - 0.83837890625, - 0.378662109375 - ], - [ - 0.09857177734375, - 0.78515625, - 0.73828125, - 0.6103515625, - 0.5380859375 - ], - [ - 0.751953125, - 0.353271484375, - 0.32958984375, - 0.62744140625, - 0.1663818359375 - ], - [ - 0.63330078125, - 0.8671875, - 0.51513671875, - 0.08294677734375, - 0.6630859375 - ], - [ - 0.869140625, - 0.1968994140625, - 0.6123046875, - 0.1971435546875, - 0.81982421875 - ], - [ - 0.2529296875, - 0.62939453125, - 0.58935546875, - 0.374755859375, - 0.900390625 - ], - [ - 0.9013671875, - 0.340087890625, - 0.34814453125, - 0.65478515625, - 0.283935546875 - ], - [ - 0.3037109375, - 0.0205841064453125, - 0.09393310546875, - 0.658203125, - 0.32080078125 - ], - [ - 0.08123779296875, - 0.93017578125, - 0.295654296875, - 0.2091064453125, - 0.5224609375 - ], - [ - 0.83056640625, - 0.87255859375, - 0.30517578125, - 0.7421875, - 0.52294921875 - ] - ] - ], - [ - [ - [ - 0.59521484375, - 0.43994140625, - 0.17724609375, - 0.8203125, - 0.5439453125 - ], - [ - 0.40185546875, - 0.67529296875, - 0.425537109375, - 0.84912109375, - 0.1357421875 - ], - [ - 0.0299224853515625, - 0.5693359375, - 0.2568359375, - 0.11822509765625, - 0.03033447265625 - ], - [ - 0.7705078125, - 0.9599609375, - 0.61572265625, - 0.7724609375, - 0.83837890625 - ], - [ - 0.8056640625, - 0.32666015625, - 0.0023517608642578125, - 0.6279296875, - 0.94775390625 - ], - [ - 0.8876953125, - 0.00475311279296875, - 0.904296875, - 0.01085662841796875, - 0.53125 - ], - [ - 0.8525390625, - 0.416015625, - 0.68408203125, - 0.2325439453125, - 0.97021484375 - ], - [ - 0.044097900390625, - 0.63232421875, - 0.034759521484375, - 0.04180908203125, - 0.270263671875 - ], - [ - 0.01519012451171875, - 0.207275390625, - 0.1539306640625, - 0.912109375, - 0.04144287109375 - ], - [ - 0.61181640625, - 0.67041015625, - 0.82080078125, - 0.367431640625, - 0.181640625 - ], - [ - 0.121826171875, - 0.142578125, - 0.52392578125, - 0.5966796875, - 0.78857421875 - ], - [ - 0.8046875, - 0.8427734375, - 0.15966796875, - 0.7451171875, - 0.07275390625 - ], - [ - 0.88037109375, - 0.525390625, - 0.6416015625, - 0.61962890625, - 0.55810546875 - ] - ] - ], - [ - [ - [ - 0.5234375, - 0.921875, - 0.348388671875, - 0.77880859375, - 0.362060546875 - ], - [ - 0.0458984375, - 0.3779296875, - 0.15087890625, - 0.440673828125, - 0.08203125 - ], - [ - 0.78564453125, - 0.5908203125, - 0.037872314453125, - 0.6455078125, - 0.95458984375 - ], - [ - 0.06329345703125, - 0.356689453125, - 0.89453125, - 0.033447265625, - 0.91845703125 - ], - [ - 0.98876953125, - 0.389892578125, - 0.465087890625, - 0.98828125, - 0.059906005859375 - ], - [ - 0.318115234375, - 0.0634765625, - 0.74609375, - 0.6513671875, - 0.86328125 - ], - [ - 0.1903076171875, - 0.544921875, - 0.712890625, - 0.28173828125, - 0.8896484375 - ], - [ - 0.1978759765625, - 0.11822509765625, - 0.281005859375, - 0.7978515625, - 0.71435546875 - ], - [ - 0.89111328125, - 0.61669921875, - 0.91796875, - 0.54296875, - 0.91845703125 - ], - [ - 0.8701171875, - 0.473388671875, - 0.0064697265625, - 0.98583984375, - 0.4970703125 - ], - [ - 0.74072265625, - 0.452392578125, - 0.362060546875, - 0.358154296875, - 0.355224609375 - ], - [ - 0.57958984375, - 0.8076171875, - 0.56884765625, - 0.52587890625, - 0.306640625 - ], - [ - 0.462890625, - 0.1798095703125, - 0.74462890625, - 0.783203125, - 0.238525390625 - ] - ] - ], - [ - [ - [ - 0.56689453125, - 0.284912109375, - 0.9775390625, - 0.298828125, - 0.8642578125 - ], - [ - 0.7001953125, - 0.9658203125, - 0.71923828125, - 0.609375, - 0.46044921875 - ], - [ - 0.47119140625, - 0.0012426376342773438, - 0.9970703125, - 0.5673828125, - 0.5869140625 - ], - [ - 0.180419921875, - 0.431884765625, - 0.2191162109375, - 0.2188720703125, - 0.54736328125 - ], - [ - 0.2408447265625, - 0.66650390625, - 0.376708984375, - 0.376708984375, - 0.7021484375 - ], - [ - 0.6708984375, - 0.403564453125, - 0.93017578125, - 0.328369140625, - 0.71826171875 - ], - [ - 0.79345703125, - 0.21826171875, - 0.47412109375, - 0.020965576171875, - 0.330078125 - ], - [ - 0.27001953125, - 0.771484375, - 0.220703125, - 0.0254364013671875, - 0.023651123046875 - ], - [ - 0.763671875, - 0.143310546875, - 0.64404296875, - 0.2015380859375, - 0.2216796875 - ], - [ - 0.806640625, - 0.68212890625, - 0.654296875, - 0.9287109375, - 0.8701171875 - ], - [ - 0.8466796875, - 0.1361083984375, - 0.166015625, - 0.98193359375, - 0.57666015625 - ], - [ - 0.54931640625, - 0.505859375, - 0.73583984375, - 0.5947265625, - 0.14990234375 - ], - [ - 0.10247802734375, - 0.302734375, - 0.8701171875, - 0.40234375, - 0.8720703125 - ] - ] - ], - [ - [ - [ - 0.57275390625, - 0.9296875, - 0.88427734375, - 0.3759765625, - 0.55126953125 - ], - [ - 0.7099609375, - 0.045654296875, - 0.159912109375, - 0.72998046875, - 0.91455078125 - ], - [ - 0.3037109375, - 0.39404296875, - 0.87451171875, - 0.26611328125, - 0.92626953125 - ], - [ - 0.14111328125, - 0.252197265625, - 0.035430908203125, - 0.093505859375, - 0.255126953125 - ], - [ - 0.6552734375, - 0.200927734375, - 0.939453125, - 0.3486328125, - 0.5185546875 - ], - [ - 0.6650390625, - 0.1363525390625, - 0.6875, - 0.12054443359375, - 0.826171875 - ], - [ - 0.488037109375, - 0.08941650390625, - 0.70751953125, - 0.07659912109375, - 0.974609375 - ], - [ - 0.45361328125, - 0.3828125, - 0.314697265625, - 0.449951171875, - 0.78125 - ], - [ - 0.52001953125, - 0.6435546875, - 0.057403564453125, - 0.8515625, - 0.5283203125 - ], - [ - 0.52392578125, - 0.25244140625, - 0.0772705078125, - 0.336181640625, - 0.818359375 - ], - [ - 0.546875, - 0.263671875, - 0.59326171875, - 0.351318359375, - 0.2236328125 - ], - [ - 0.73974609375, - 0.167236328125, - 0.5849609375, - 0.73388671875, - 0.0616455078125 - ], - [ - 0.69580078125, - 0.01145172119140625, - 0.81201171875, - 0.278076171875, - 0.1536865234375 - ] - ] - ], - [ - [ - [ - 0.13037109375, - 0.435791015625, - 0.2880859375, - 0.46875, - 0.845703125 - ], - [ - 0.10498046875, - 0.260498046875, - 0.11334228515625, - 0.63720703125, - 0.623046875 - ], - [ - 0.8486328125, - 0.7294921875, - 0.69921875, - 0.1605224609375, - 0.8193359375 - ], - [ - 0.0073089599609375, - 0.71484375, - 0.814453125, - 0.2265625, - 0.311767578125 - ], - [ - 0.2420654296875, - 0.8193359375, - 0.4208984375, - 0.363525390625, - 0.50244140625 - ], - [ - 0.73046875, - 0.66064453125, - 0.70751953125, - 0.947265625, - 0.255126953125 - ], - [ - 0.2069091796875, - 0.64990234375, - 0.14599609375, - 0.6435546875, - 0.9560546875 - ], - [ - 0.45849609375, - 0.2147216796875, - 0.9951171875, - 0.3828125, - 0.1138916015625 - ], - [ - 0.416015625, - 0.087646484375, - 0.08319091796875, - 0.047515869140625, - 0.4541015625 - ], - [ - 0.458984375, - 0.7333984375, - 0.5439453125, - 0.8603515625, - 0.873046875 - ], - [ - 0.1708984375, - 0.041259765625, - 0.70654296875, - 0.009979248046875, - 0.393798828125 - ], - [ - 0.05401611328125, - 0.458984375, - 0.44970703125, - 0.845703125, - 0.6455078125 - ], - [ - 0.402587890625, - 0.50927734375, - 0.54931640625, - 0.2261962890625, - 0.775390625 - ] - ] - ], - [ - [ - [ - 0.46728515625, - 0.6376953125, - 0.0318603515625, - 0.11090087890625, - 0.58935546875 - ], - [ - 0.744140625, - 0.32080078125, - 0.94580078125, - 0.84912109375, - 0.5244140625 - ], - [ - 0.64013671875, - 0.59326171875, - 0.3056640625, - 0.0626220703125, - 0.8046875 - ], - [ - 0.46044921875, - 0.841796875, - 0.37451171875, - 0.0142822265625, - 0.126953125 - ], - [ - 0.1572265625, - 0.73095703125, - 0.032073974609375, - 0.8193359375, - 0.69091796875 - ], - [ - 0.3232421875, - 0.52197265625, - 0.93212890625, - 0.06976318359375, - 0.36328125 - ], - [ - 0.39111328125, - 0.96337890625, - 0.97509765625, - 0.84130859375, - 0.382080078125 - ], - [ - 0.88916015625, - 0.484130859375, - 0.64404296875, - 0.927734375, - 0.248046875 - ], - [ - 0.86083984375, - 0.399169921875, - 0.87109375, - 0.54833984375, - 0.247314453125 - ], - [ - 0.765625, - 0.11517333984375, - 0.143310546875, - 0.148193359375, - 0.84033203125 - ], - [ - 0.87109375, - 0.57275390625, - 0.279296875, - 0.394287109375, - 0.18359375 - ], - [ - 0.003814697265625, - 0.83984375, - 0.194580078125, - 0.0791015625, - 0.1318359375 - ], - [ - 0.92626953125, - 0.36328125, - 0.64794921875, - 0.031280517578125, - 0.529296875 - ] - ] - ] - ] -} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json deleted file mode 100644 index 1572b7b95..000000000 --- a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_13x1x13x5_f16/test.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - 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: [ - "result-0" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" - ] - } - ] - } - ] -} diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/desc.json new file mode 100644 index 000000000..d57e8394e --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/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": "Output data type not supported for this configuration of operator", + "profile": [ + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/input-0.json new file mode 100644 index 000000000..ef372c66a --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/input-0.json @@ -0,0 +1,941 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.85546875, + 0.859375, + 0.09521484375, + 0.1513671875, + 0.447265625, + 0.185546875 + ], + [ + 0.734375, + 0.057861328125, + 0.546875, + 0.380859375, + 0.46484375, + 0.423828125 + ], + [ + 0.15234375, + 0.2197265625, + 0.064453125, + 0.115234375, + 0.9765625, + 0.279296875 + ], + [ + 0.306640625, + 0.126953125, + 0.75390625, + 0.921875, + 0.7890625, + 0.609375 + ] + ], + [ + [ + 0.8125, + 0.40234375, + 0.859375, + 0.796875, + 0.0017242431640625, + 0.486328125 + ], + [ + 0.263671875, + 0.0859375, + 0.84375, + 0.0079345703125, + 0.7265625, + 0.984375 + ], + [ + 0.48046875, + 0.37109375, + 0.60546875, + 0.8046875, + 0.240234375, + 0.25 + ], + [ + 0.60546875, + 0.9375, + 0.296875, + 0.375, + 0.9921875, + 0.17578125 + ] + ], + [ + [ + 0.07666015625, + 0.5859375, + 0.024169921875, + 0.1796875, + 0.62109375, + 0.65625 + ], + [ + 0.5078125, + 0.3828125, + 0.57421875, + 0.640625, + 0.80078125, + 0.7890625 + ], + [ + 0.6640625, + 0.890625, + 0.8359375, + 0.1328125, + 0.953125, + 0.890625 + ], + [ + 0.3203125, + 0.0201416015625, + 0.6015625, + 0.4375, + 0.74609375, + 0.5234375 + ] + ] + ], + [ + [ + [ + 0.076171875, + 0.244140625, + 0.87890625, + 0.03759765625, + 0.734375, + 0.291015625 + ], + [ + 0.451171875, + 0.52734375, + 0.25, + 0.6484375, + 0.69140625, + 0.0849609375 + ], + [ + 0.373046875, + 0.7421875, + 0.71875, + 0.54296875, + 0.77734375, + 0.107421875 + ], + [ + 0.1181640625, + 0.65625, + 0.69140625, + 0.8125, + 0.1806640625, + 0.515625 + ] + ], + [ + [ + 0.66015625, + 0.2236328125, + 0.515625, + 0.63671875, + 0.2138671875, + 0.375 + ], + [ + 0.2158203125, + 0.90234375, + 0.236328125, + 0.12060546875, + 0.034912109375, + 0.044921875 + ], + [ + 0.19140625, + 0.60546875, + 0.017578125, + 0.28515625, + 0.05810546875, + 0.40234375 + ], + [ + 0.04833984375, + 0.60546875, + 0.6875, + 0.73046875, + 0.2236328125, + 0.8671875 + ] + ], + [ + [ + 0.6875, + 0.056640625, + 0.439453125, + 0.765625, + 0.310546875, + 0.380859375 + ], + [ + 0.62890625, + 0.055419921875, + 0.96484375, + 0.173828125, + 0.026611328125, + 0.00531005859375 + ], + [ + 0.3984375, + 0.8828125, + 0.81640625, + 0.91015625, + 0.53125, + 0.447265625 + ], + [ + 0.384765625, + 0.04638671875, + 0.90625, + 0.49609375, + 0.453125, + 0.51171875 + ] + ] + ], + [ + [ + [ + 0.79296875, + 0.2236328125, + 0.70703125, + 0.70703125, + 0.84765625, + 0.0086669921875 + ], + [ + 0.169921875, + 0.470703125, + 0.84765625, + 0.96484375, + 0.59375, + 0.2119140625 + ], + [ + 0.1845703125, + 0.63671875, + 0.2099609375, + 0.55078125, + 0.83203125, + 0.388671875 + ], + [ + 0.376953125, + 0.0361328125, + 0.25390625, + 0.6953125, + 0.359375, + 0.158203125 + ] + ], + [ + [ + 0.10546875, + 0.0947265625, + 0.65625, + 0.609375, + 0.515625, + 0.5 + ], + [ + 0.15234375, + 0.5, + 0.059814453125, + 0.92578125, + 0.057861328125, + 0.421875 + ], + [ + 0.000568389892578125, + 0.78515625, + 0.166015625, + 0.921875, + 0.0439453125, + 0.8203125 + ], + [ + 0.65625, + 0.2490234375, + 0.2021484375, + 0.357421875, + 0.828125, + 0.859375 + ] + ], + [ + [ + 0.1748046875, + 0.3515625, + 0.2373046875, + 0.12255859375, + 0.64453125, + 0.345703125 + ], + [ + 0.224609375, + 0.86328125, + 0.74609375, + 0.7734375, + 0.0390625, + 0.9140625 + ], + [ + 0.57421875, + 0.5, + 0.01055908203125, + 0.89453125, + 0.54296875, + 0.82421875 + ], + [ + 0.65234375, + 0.79296875, + 0.69140625, + 0.91796875, + 0.224609375, + 0.201171875 + ] + ] + ], + [ + [ + [ + 0.7109375, + 0.5, + 0.59765625, + 0.70703125, + 0.546875, + 0.78515625 + ], + [ + 0.318359375, + 0.85546875, + 0.107421875, + 0.6328125, + 0.88671875, + 0.251953125 + ], + [ + 0.326171875, + 0.3046875, + 0.5625, + 0.412109375, + 0.10791015625, + 0.890625 + ], + [ + 0.2041015625, + 0.53125, + 0.59375, + 0.04052734375, + 0.095703125, + 0.96875 + ] + ], + [ + [ + 0.6640625, + 0.033447265625, + 0.79296875, + 0.5078125, + 0.0751953125, + 0.6796875 + ], + [ + 0.498046875, + 0.2041015625, + 0.875, + 0.291015625, + 0.283203125, + 0.271484375 + ], + [ + 0.765625, + 0.703125, + 0.90234375, + 0.228515625, + 0.78515625, + 0.5703125 + ], + [ + 0.30859375, + 0.035400390625, + 0.81640625, + 0.240234375, + 0.62890625, + 0.546875 + ] + ], + [ + [ + 0.004425048828125, + 0.9921875, + 0.8125, + 0.486328125, + 0.6796875, + 0.4765625 + ], + [ + 0.7421875, + 0.1337890625, + 0.4453125, + 0.333984375, + 0.458984375, + 0.44921875 + ], + [ + 0.142578125, + 0.97265625, + 0.01544189453125, + 0.01007080078125, + 0.373046875, + 0.6171875 + ], + [ + 0.1787109375, + 0.53125, + 0.72265625, + 0.09375, + 0.984375, + 0.3359375 + ] + ] + ], + [ + [ + [ + 0.640625, + 0.1103515625, + 0.70703125, + 0.83984375, + 0.10498046875, + 0.125 + ], + [ + 0.279296875, + 0.01190185546875, + 0.984375, + 0.59765625, + 0.60546875, + 0.95703125 + ], + [ + 0.828125, + 0.8125, + 0.337890625, + 0.333984375, + 0.291015625, + 0.345703125 + ], + [ + 0.369140625, + 0.1396484375, + 0.35546875, + 0.4453125, + 0.30859375, + 0.1650390625 + ] + ], + [ + [ + 0.373046875, + 0.48046875, + 0.71875, + 0.7109375, + 0.2021484375, + 0.03662109375 + ], + [ + 0.302734375, + 0.15625, + 0.39453125, + 0.9765625, + 0.1806640625, + 0.318359375 + ], + [ + 0.72265625, + 0.5078125, + 0.043701171875, + 0.1611328125, + 0.93359375, + 0.10302734375 + ], + [ + 0.6328125, + 0.7890625, + 0.263671875, + 0.72265625, + 0.1689453125, + 0.283203125 + ] + ], + [ + [ + 0.310546875, + 0.99609375, + 0.2138671875, + 0.12890625, + 0.921875, + 0.1611328125 + ], + [ + 0.87890625, + 0.6484375, + 0.57421875, + 0.75, + 0.72265625, + 0.1103515625 + ], + [ + 0.99609375, + 0.94140625, + 0.89453125, + 0.62109375, + 0.51953125, + 0.53515625 + ], + [ + 0.014892578125, + 0.498046875, + 0.62109375, + 0.65625, + 0.33203125, + 0.470703125 + ] + ] + ], + [ + [ + [ + 0.6328125, + 0.427734375, + 0.9609375, + 0.703125, + 0.0012664794921875, + 0.023193359375 + ], + [ + 0.6875, + 0.412109375, + 0.8359375, + 0.1728515625, + 0.0137939453125, + 0.38671875 + ], + [ + 0.734375, + 0.96875, + 0.8828125, + 0.482421875, + 0.8125, + 0.0703125 + ], + [ + 0.5703125, + 0.921875, + 0.39453125, + 0.95703125, + 0.2197265625, + 0.10546875 + ] + ], + [ + [ + 0.5234375, + 0.90625, + 0.310546875, + 0.796875, + 0.1689453125, + 0.7421875 + ], + [ + 0.5546875, + 0.1748046875, + 0.71484375, + 0.7109375, + 0.51171875, + 0.224609375 + ], + [ + 0.1318359375, + 0.95703125, + 0.65234375, + 0.80859375, + 0.6953125, + 0.828125 + ], + [ + 0.162109375, + 0.49609375, + 0.6640625, + 0.10302734375, + 0.1494140625, + 0.6328125 + ] + ], + [ + [ + 0.8671875, + 0.66015625, + 0.0361328125, + 0.96875, + 0.138671875, + 0.232421875 + ], + [ + 0.97265625, + 0.76953125, + 0.93359375, + 0.8046875, + 0.6484375, + 0.283203125 + ], + [ + 0.326171875, + 0.9453125, + 0.859375, + 0.359375, + 0.373046875, + 0.296875 + ], + [ + 0.32421875, + 0.859375, + 0.010498046875, + 0.435546875, + 0.94140625, + 0.5390625 + ] + ] + ], + [ + [ + [ + 0.44921875, + 0.310546875, + 0.07373046875, + 0.2236328125, + 0.09033203125, + 0.1259765625 + ], + [ + 0.1630859375, + 0.30078125, + 0.010986328125, + 0.94921875, + 0.12353515625, + 0.3828125 + ], + [ + 0.87890625, + 0.1064453125, + 0.482421875, + 0.84375, + 0.5546875, + 0.2099609375 + ], + [ + 0.734375, + 0.6796875, + 0.361328125, + 0.046142578125, + 0.0078125, + 0.82421875 + ] + ], + [ + [ + 0.3203125, + 0.1376953125, + 0.515625, + 0.91796875, + 0.0084228515625, + 0.055908203125 + ], + [ + 0.416015625, + 0.67578125, + 0.474609375, + 0.89453125, + 0.0439453125, + 0.33984375 + ], + [ + 0.349609375, + 0.33984375, + 0.486328125, + 0.7890625, + 0.31640625, + 0.7421875 + ], + [ + 0.1455078125, + 0.55859375, + 0.375, + 0.5390625, + 0.107421875, + 0.953125 + ] + ], + [ + [ + 0.90234375, + 0.82421875, + 0.890625, + 0.146484375, + 0.5, + 0.31640625 + ], + [ + 0.88671875, + 0.1884765625, + 0.2197265625, + 0.68359375, + 0.0888671875, + 0.73046875 + ], + [ + 0.267578125, + 0.66015625, + 0.87109375, + 0.609375, + 0.2119140625, + 0.049072265625 + ], + [ + 0.04443359375, + 0.08837890625, + 0.578125, + 0.34765625, + 0.2421875, + 0.21875 + ] + ] + ], + [ + [ + [ + 0.9453125, + 0.11865234375, + 0.3046875, + 0.470703125, + 0.0004482269287109375, + 0.91796875 + ], + [ + 0.0986328125, + 0.6796875, + 0.625, + 0.80859375, + 0.6484375, + 0.765625 + ], + [ + 0.419921875, + 0.48828125, + 0.69921875, + 0.56640625, + 0.5078125, + 0.205078125 + ], + [ + 0.2578125, + 0.357421875, + 0.00927734375, + 0.416015625, + 0.0027618408203125, + 0.5625 + ] + ], + [ + [ + 0.703125, + 0.55859375, + 0.69140625, + 1.3113021850585938e-05, + 0.059326171875, + 0.6953125 + ], + [ + 0.80078125, + 0.71484375, + 0.66015625, + 0.70703125, + 0.73828125, + 0.72265625 + ], + [ + 0.734375, + 0.07373046875, + 0.06298828125, + 0.359375, + 0.52734375, + 0.76171875 + ], + [ + 0.333984375, + 0.2734375, + 0.78125, + 0.2490234375, + 0.8203125, + 0.1767578125 + ] + ], + [ + [ + 0.359375, + 0.400390625, + 0.298828125, + 0.0033416748046875, + 0.2353515625, + 0.3359375 + ], + [ + 0.3125, + 0.78515625, + 0.04736328125, + 0.388671875, + 0.037353515625, + 0.9296875 + ], + [ + 0.7890625, + 0.98046875, + 0.91015625, + 0.314453125, + 0.69140625, + 0.3046875 + ], + [ + 0.88671875, + 0.41015625, + 0.375, + 0.9140625, + 0.8359375, + 0.96484375 + ] + ] + ], + [ + [ + [ + 0.06640625, + 0.2431640625, + 0.30078125, + 0.423828125, + 0.47265625, + 0.291015625 + ], + [ + 0.7890625, + 0.22265625, + 0.6953125, + 0.8515625, + 0.6015625, + 0.353515625 + ], + [ + 0.1875, + 0.1337890625, + 0.7421875, + 0.46875, + 0.046142578125, + 0.98046875 + ], + [ + 0.66796875, + 0.84375, + 0.4375, + 0.953125, + 0.19921875, + 0.1845703125 + ] + ], + [ + [ + 0.88671875, + 0.890625, + 0.498046875, + 0.125, + 0.3046875, + 0.75390625 + ], + [ + 0.84375, + 0.345703125, + 0.06103515625, + 0.6640625, + 0.73828125, + 0.423828125 + ], + [ + 0.58203125, + 0.984375, + 0.244140625, + 0.5703125, + 0.609375, + 0.546875 + ], + [ + 0.8671875, + 0.6015625, + 0.5078125, + 0.12255859375, + 0.703125, + 0.1318359375 + ] + ], + [ + [ + 0.0264892578125, + 0.48828125, + 0.5703125, + 0.99609375, + 0.7109375, + 0.84765625 + ], + [ + 0.345703125, + 0.5078125, + 0.97265625, + 0.416015625, + 0.8046875, + 0.5234375 + ], + [ + 0.2236328125, + 0.578125, + 0.2177734375, + 0.003021240234375, + 0.2353515625, + 0.1923828125 + ], + [ + 0.369140625, + 0.88671875, + 0.38671875, + 0.84375, + 0.5546875, + 0.007598876953125 + ] + ] + ] + ] +} \ No newline at end of file diff --git a/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/test.json b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/test.json new file mode 100644 index 000000000..bfeff7094 --- /dev/null +++ b/operators/ew_unary/negate/negate_ERRORIF_WrongOutputType_9x3x4x6_bf16/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: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9, + 3, + 4, + 6 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 9, + 3, + 4, + 6 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1