diff options
Diffstat (limited to 'operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32')
3 files changed, 145 insertions, 0 deletions
diff --git a/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/desc.json b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/desc.json new file mode 100644 index 000000000..677e39a54 --- /dev/null +++ b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/desc.json @@ -0,0 +1,23 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0", + "result-1" + ], + "ofm_file": [ + "result-0.npy", + "result-1.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/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/input-0.json b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/input-0.json new file mode 100644 index 000000000..5986131c6 --- /dev/null +++ b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/input-0.json @@ -0,0 +1,55 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.9275625348091125, + 0.3975781798362732, + 0.3009486794471741, + 0.488584041595459 + ], + [ + 0.6628642082214355, + 0.9556232690811157, + 0.286446213722229, + 0.9248084425926208 + ], + [ + 0.024859491735696793, + 0.5551980137825012, + 0.633975088596344, + 0.10589740425348282 + ], + [ + 0.14033959805965424, + 0.4191143214702606, + 0.9662318825721741, + 0.5960425734519958 + ], + [ + 0.93302321434021, + 0.8043609261512756, + 0.4673815965652466, + 0.7847634553909302 + ], + [ + 0.017836783081293106, + 0.10914399474859238, + 0.8294286131858826, + 0.7968170642852783 + ], + [ + 0.23264074325561523, + 0.5307695865631104, + 0.6060158014297485, + 0.8677389621734619 + ], + [ + 0.6031071543693542, + 0.41257157921791077, + 0.3741840422153473, + 0.42588210105895996 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/test.json b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/test.json new file mode 100644 index 000000000..4a27152d7 --- /dev/null +++ b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongOutputType_1x8x4_f32/test.json @@ -0,0 +1,67 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "RFFT2D", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 8, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 8, + 3 + ], + type: "BOOL" + }, + { + name: "result-1", + shape: [ + 1, + 8, + 3 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ] + } + ] +} |