aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse')
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/desc.json25
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-0.json55
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-1.json55
-rw-r--r--operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/test.json81
4 files changed, 216 insertions, 0 deletions
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/desc.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/desc.json
new file mode 100644
index 000000000..7a0fa774a
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_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": "Output data type not supported for this configuration of operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-0.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-0.json
new file mode 100644
index 000000000..109051617
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-0.json
@@ -0,0 +1,55 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.7311359643936157,
+ 0.7829601168632507,
+ 0.5699338316917419,
+ 0.10461509972810745
+ ],
+ [
+ 0.9039732813835144,
+ 0.8655725121498108,
+ 0.7980974316596985,
+ 0.0998624786734581
+ ],
+ [
+ 0.20439736545085907,
+ 0.7436003684997559,
+ 0.02314009517431259,
+ 0.9792246222496033
+ ],
+ [
+ 0.3771446943283081,
+ 0.7193125486373901,
+ 0.8875710964202881,
+ 0.39462989568710327
+ ],
+ [
+ 0.3191324770450592,
+ 0.6087411046028137,
+ 0.5809893608093262,
+ 0.4091399908065796
+ ],
+ [
+ 0.6017747521400452,
+ 0.9353813529014587,
+ 0.4676402509212494,
+ 0.19674217700958252
+ ],
+ [
+ 0.3772059977054596,
+ 0.39410698413848877,
+ 0.13110868632793427,
+ 0.16287149488925934
+ ],
+ [
+ 0.684562087059021,
+ 0.3394777476787567,
+ 0.9548984169960022,
+ 0.24359674751758575
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-1.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-1.json
new file mode 100644
index 000000000..46d97198e
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/input-1.json
@@ -0,0 +1,55 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.09892450273036957,
+ 0.7535045742988586,
+ 0.8810360431671143,
+ 0.27811336517333984
+ ],
+ [
+ 0.2020881026983261,
+ 0.18576613068580627,
+ 0.5220122933387756,
+ 0.46841663122177124
+ ],
+ [
+ 0.2594398260116577,
+ 0.04517311602830887,
+ 0.4814913272857666,
+ 0.9593323469161987
+ ],
+ [
+ 0.6525192260742188,
+ 0.49550655484199524,
+ 0.11069207638502121,
+ 0.2524362802505493
+ ],
+ [
+ 0.2947739362716675,
+ 0.7648035287857056,
+ 0.8767107725143433,
+ 0.901641845703125
+ ],
+ [
+ 0.9845685958862305,
+ 0.982366681098938,
+ 0.9529991149902344,
+ 0.0718221440911293
+ ],
+ [
+ 0.13779354095458984,
+ 0.30446651577949524,
+ 0.5528982281684875,
+ 0.09697788953781128
+ ],
+ [
+ 0.8457969427108765,
+ 0.6167562007904053,
+ 0.5423644185066223,
+ 0.1653113216161728
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/test.json b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_f32_inverseFalse/test.json
new file mode 100644
index 000000000..319c1c2cf
--- /dev/null
+++ b/operators/tensor/fft2d/fft2d_ERRORIF_WrongOutputType_1x8x4_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,
+ 8,
+ 4
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 8,
+ 4
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 8,
+ 4
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-1",
+ shape: [
+ 1,
+ 8,
+ 4
+ ],
+ type: "BOOL"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0",
+ "result-1"
+ ]
+ }
+ ]
+ }
+ ]
+}