diff options
Diffstat (limited to 'operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse')
4 files changed, 153 insertions, 0 deletions
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/desc.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/desc.json new file mode 100644 index 000000000..155c621ff --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/desc.json @@ -0,0 +1,25 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.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": "Op output list does not match expected output", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/input-0.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/input-0.json new file mode 100644 index 000000000..213a0bf24 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/input-0.json @@ -0,0 +1,23 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.6102274656295776, + 0.4439428746700287 + ], + [ + 0.9359375238418579, + 0.8539843559265137 + ], + [ + 0.3222156763076782, + 0.5445483922958374 + ], + [ + 0.4898242652416229, + 0.6322025060653687 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/input-1.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/input-1.json new file mode 100644 index 000000000..725f02046 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/input-1.json @@ -0,0 +1,23 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.3341112732887268, + 0.24420499801635742 + ], + [ + 0.9126718640327454, + 0.9238744974136353 + ], + [ + 0.8433228731155396, + 0.9782044291496277 + ], + [ + 0.7449915409088135, + 0.7646672129631042 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/test.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/test.json new file mode 100644 index 000000000..292bed62a --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputList_1x4x2_f32_inverseFalse/test.json @@ -0,0 +1,82 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "FFT2D", + attribute_type: "FFTAttribute", + attribute: { + inverse: false + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "result-1", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 2 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 4, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 4, + 2 + ], + type: "FP32" + }, + { + name: "result-1", + shape: [ + 1, + 4, + 2 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ] + } + ] +} |