diff options
Diffstat (limited to 'operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse')
4 files changed, 217 insertions, 0 deletions
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/desc.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/desc.json new file mode 100644 index 000000000..1740aac99 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_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 input list does not match expected input", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/input-0.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/input-0.json new file mode 100644 index 000000000..aeadc331d --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/input-0.json @@ -0,0 +1,55 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.6227087378501892, + 0.750838577747345, + 0.793635368347168, + 0.21195460855960846 + ], + [ + 0.9237833023071289, + 0.43798959255218506, + 0.6390136480331421, + 0.0023087726440280676 + ], + [ + 0.9933685064315796, + 0.28089639544487, + 0.062063105404376984, + 0.45826205611228943 + ], + [ + 0.12903006374835968, + 0.15232670307159424, + 0.6322827935218811, + 0.3929273784160614 + ], + [ + 0.9218524694442749, + 0.3191564977169037, + 0.7261801362037659, + 0.46109941601753235 + ], + [ + 0.6599513292312622, + 0.5996953845024109, + 0.47278398275375366, + 0.9500610828399658 + ], + [ + 0.3427136540412903, + 0.17723549902439117, + 0.6780940890312195, + 0.8460075855255127 + ], + [ + 0.040253739804029465, + 0.4496326744556427, + 0.8924877047538757, + 0.7496185898780823 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/input-1.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/input-1.json new file mode 100644 index 000000000..fc098d141 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/input-1.json @@ -0,0 +1,55 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.9918076992034912, + 0.5314137935638428, + 0.6599957346916199, + 0.3024802803993225 + ], + [ + 0.9475355744361877, + 0.3663354814052582, + 0.7385107278823853, + 0.40314021706581116 + ], + [ + 0.5618189573287964, + 0.7197825312614441, + 0.5089341402053833, + 0.9070863127708435 + ], + [ + 0.41930097341537476, + 0.6470717787742615, + 0.3423624336719513, + 0.4081566631793976 + ], + [ + 0.4400500953197479, + 0.1258070170879364, + 0.09172368049621582, + 0.6674899458885193 + ], + [ + 0.6555177569389343, + 0.6629096865653992, + 0.019766446202993393, + 0.326546847820282 + ], + [ + 0.1978098452091217, + 0.7781513929367065, + 0.8606303930282593, + 0.2466803789138794 + ], + [ + 0.6678491830825806, + 0.1293628066778183, + 0.2751525342464447, + 0.13865450024604797 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/test.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_f32_inverseFalse/test.json new file mode 100644 index 000000000..144ffe989 --- /dev/null +++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongInputList_1x8x4_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", + "eiDummyInput" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 8, + 4 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 1, + 8, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 8, + 4 + ], + type: "FP32" + }, + { + name: "result-1", + shape: [ + 1, + 8, + 4 + ], + type: "FP32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ] + } + ] +} |