diff options
Diffstat (limited to 'operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse')
4 files changed, 152 insertions, 0 deletions
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/desc.json b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/desc.json new file mode 100644 index 000000000..e7dcefff2 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_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": "Input batch size not equal to output batch size", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/input-0.json b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/input-0.json new file mode 100644 index 000000000..08a4368dc --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/input-0.json @@ -0,0 +1,23 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.5348019003868103, + 0.1166459172964096 + ], + [ + 0.28749629855155945, + 0.6411898136138916 + ], + [ + 0.7251157164573669, + 0.2634556293487549 + ], + [ + 0.32919368147850037, + 0.2469092309474945 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/input-1.json b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/input-1.json new file mode 100644 index 000000000..328e587c7 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/input-1.json @@ -0,0 +1,23 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.9568886160850525, + 0.19051972031593323 + ], + [ + 0.18318060040473938, + 0.44503530859947205 + ], + [ + 0.1893063634634018, + 0.15670844912528992 + ], + [ + 0.09587953984737396, + 0.640171229839325 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/test.json b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/test.json new file mode 100644 index 000000000..902e082ab --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_BatchMismatch_1x4x2_f32_inverseFalse/test.json @@ -0,0 +1,81 @@ +{ + 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" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 2 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 4, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 4, + 4, + 2 + ], + type: "FP32" + }, + { + name: "result-1", + shape: [ + 4, + 4, + 2 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ] + } + ] +} |