diff options
Diffstat (limited to 'operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32')
3 files changed, 145 insertions, 0 deletions
diff --git a/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/desc.json b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/desc.json new file mode 100644 index 000000000..82addbc7e --- /dev/null +++ b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_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": "Op input list does not match expected input", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/input-0.json b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/input-0.json new file mode 100644 index 000000000..972cceea7 --- /dev/null +++ b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/input-0.json @@ -0,0 +1,55 @@ +{ + "type": "float32", + "data": [ + [ + [ + 0.8674906492233276, + 0.4538968801498413, + 0.2478395700454712, + 0.236662358045578 + ], + [ + 0.7460142970085144, + 0.8165687918663025, + 0.10527808219194412, + 0.06655886024236679 + ], + [ + 0.5944336652755737, + 0.14617323875427246, + 0.8246641755104065, + 0.3103346824645996 + ], + [ + 0.14387193322181702, + 0.9209704995155334, + 0.165531724691391, + 0.2847200930118561 + ], + [ + 0.1536133885383606, + 0.11549006402492523, + 0.021148016676306725, + 0.05539540946483612 + ], + [ + 0.1746414750814438, + 0.05338193103671074, + 0.591143786907196, + 0.6807145476341248 + ], + [ + 0.3936304450035095, + 0.31799110770225525, + 0.5045262575149536, + 0.8750049471855164 + ], + [ + 0.8511316180229187, + 0.043475061655044556, + 0.18149840831756592, + 0.23674486577510834 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/test.json b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_1x8x4_f32/test.json new file mode 100644 index 000000000..6c49a2dce --- /dev/null +++ b/operators/tensor/rfft2d/rfft2d_ERRORIF_WrongInputList_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: [ + + ], + outputs: [ + "result-0", + "result-1" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 8, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 8, + 3 + ], + type: "FP32" + }, + { + name: "result-1", + shape: [ + 1, + 8, + 3 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "result-1" + ] + } + ] + } + ] +} |