aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0')
-rw-r--r--operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/desc.json22
-rw-r--r--operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/input-0.json18
-rw-r--r--operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/test.json55
3 files changed, 95 insertions, 0 deletions
diff --git a/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/desc.json b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/desc.json
new file mode 100644
index 000000000..bf7c1974a
--- /dev/null
+++ b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/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": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/input-0.json b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/input-0.json
new file mode 100644
index 000000000..49d9edad1
--- /dev/null
+++ b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/input-0.json
@@ -0,0 +1,18 @@
+{
+ "type": "int32",
+ "data": [
+ -8,
+ -33,
+ -25,
+ -58,
+ -119,
+ 28,
+ 61,
+ 115,
+ -91,
+ -82,
+ -20,
+ 71,
+ 33
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/test.json b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/test.json
new file mode 100644
index 000000000..b26eb7bb1
--- /dev/null
+++ b/operators/tensor/argmax/argmax_ERRORIF_WrongInputList_13_i8_axis0/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 70,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "ARGMAX",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}