aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse')
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/desc.json25
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-0.json17
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-1.json17
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/test.json81
4 files changed, 140 insertions, 0 deletions
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/desc.json b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/desc.json
new file mode 100644
index 000000000..6222ee8d4
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_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": "Mismatch between provided and expected output kernel (H, W) shape",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-0.json b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-0.json
new file mode 100644
index 000000000..b03e33d3b
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-0.json
@@ -0,0 +1,17 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.8543310165405273,
+ 0.5750150680541992,
+ 0.4948958158493042,
+ 0.9108853936195374,
+ 0.8379796743392944,
+ 0.8128018975257874,
+ 0.2256091982126236,
+ 0.15312311053276062
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-1.json b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-1.json
new file mode 100644
index 000000000..77e3261f4
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/input-1.json
@@ -0,0 +1,17 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.6900964975357056,
+ 0.4686422646045685,
+ 0.6837127208709717,
+ 0.7606272101402283,
+ 0.2953135073184967,
+ 0.28465044498443604,
+ 0.49083155393600464,
+ 0.27354931831359863
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/test.json b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_f32_inverseFalse/test.json
new file mode 100644
index 000000000..09fa6e298
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_FFTOutputShapeMismatch_1x1x8_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,
+ 1,
+ 8
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 1,
+ 8
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 4,
+ 8
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-1",
+ shape: [
+ 1,
+ 4,
+ 8
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0",
+ "result-1"
+ ]
+ }
+ ]
+ }
+ ]
+}