aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010')
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/desc.json22
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/input-0.json663
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/test.json63
3 files changed, 748 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/desc.json b/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/desc.json
new file mode 100644
index 000000000..199bfa93c
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/desc.json
@@ -0,0 +1,22 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Output data type not supported for this configuration of operator",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/input-0.json b/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/input-0.json
new file mode 100644
index 000000000..8fd554701
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/input-0.json
@@ -0,0 +1,663 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 34,
+ 75,
+ -19,
+ -101,
+ 12,
+ 81,
+ 114
+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+ 49,
+ -69,
+ -81,
+ -51,
+ -124,
+ -104
+ ],
+ [
+ -9,
+ 102,
+ 58,
+ -41,
+ 80,
+ -40,
+ 56
+ ],
+ [
+ -104,
+ 85,
+ 31,
+ 4,
+ -117,
+ 89,
+ 57
+ ],
+ [
+ -48,
+ -12,
+ 72,
+ -62,
+ -89,
+ -118,
+ -75
+ ],
+ [
+ -97,
+ -52,
+ -13,
+ -116,
+ 85,
+ -74,
+ -53
+ ]
+ ],
+ [
+ [
+ -87,
+ 110,
+ -114,
+ -77,
+ 38,
+ -69,
+ -106
+ ],
+ [
+ -18,
+ -46,
+ 127,
+ 97,
+ -116,
+ 40,
+ 57
+ ],
+ [
+ 15,
+ 122,
+ -3,
+ 97,
+ 14,
+ 26,
+ -116
+ ],
+ [
+ 33,
+ 76,
+ -74,
+ 79,
+ -21,
+ 81,
+ -54
+ ],
+ [
+ 71,
+ 2,
+ 95,
+ 105,
+ -117,
+ 75,
+ -51
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/test.json b/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/test.json
new file mode 100644
index 000000000..3706d7642
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongOutputType_14x5x7_i8_pad011010/test.json
@@ -0,0 +1,63 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "PAD",
+ attribute_type: "PadAttribute",
+ attribute: {
+ padding: [
+ 0,
+ 1,
+ 1,
+ 0,
+ 1,
+ 0
+ ],
+ pad_const_int: 41,
+ pad_const_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14,
+ 5,
+ 7
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 15,
+ 6,
+ 8
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}