aboutsummaryrefslogtreecommitdiff
path: root/operators/activation/clamp
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 15:17:52 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 16:40:57 +0000
commitb08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch)
tree4b4737ff52e92c1c17922a972384930953a26a61 /operators/activation/clamp
parent007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff)
downloadconformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'operators/activation/clamp')
-rw-r--r--operators/activation/clamp/clamp_15x14x15x10x3_i16/test.json85
-rw-r--r--operators/activation/clamp/clamp_1x2x1x65536_i8/test.json81
-rw-r--r--operators/activation/clamp/clamp_1x3x65537x1x1_i8/test.json85
-rw-r--r--operators/activation/clamp/clamp_23_i8/test.json69
-rw-r--r--operators/activation/clamp/clamp_23x50x28_i8/test.json77
-rw-r--r--operators/activation/clamp/clamp_24x43x62_i16/test.json77
-rw-r--r--operators/activation/clamp/clamp_2x15x13x9_i8/test.json81
-rw-r--r--operators/activation/clamp/clamp_39x57_i16/test.json73
-rw-r--r--operators/activation/clamp/clamp_48x39_i8/test.json73
-rw-r--r--operators/activation/clamp/clamp_4x2x11x19x14_i8/test.json85
-rw-r--r--operators/activation/clamp/clamp_54_i16/test.json69
-rw-r--r--operators/activation/clamp/clamp_9x17x2x14_i16/test.json81
-rw-r--r--operators/activation/clamp/clamp_ERRORIF_MaxSmallerMin_10x7_i16/test.json73
-rw-r--r--operators/activation/clamp/clamp_ERRORIF_WrongInputList_14x6_i16/test.json75
-rw-r--r--operators/activation/clamp/clamp_ERRORIF_WrongInputType_5x10x3x12_i32/test.json81
-rw-r--r--operators/activation/clamp/clamp_ERRORIF_WrongOutputList_10x11_i8/test.json77
-rw-r--r--operators/activation/clamp/clamp_ERRORIF_WrongOutputType_11x12x12_i8/test.json77
17 files changed, 702 insertions, 617 deletions
diff --git a/operators/activation/clamp/clamp_15x14x15x10x3_i16/test.json b/operators/activation/clamp/clamp_15x14x15x10x3_i16/test.json
index a6dc11fb5..d0911814f 100644
--- a/operators/activation/clamp/clamp_15x14x15x10x3_i16/test.json
+++ b/operators/activation/clamp/clamp_15x14x15x10x3_i16/test.json
@@ -5,19 +5,54 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -22238,
- max_int: 17490,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -22238,
+ max_int: 17490,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 15,
+ 14,
+ 15,
+ 10,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 15,
+ 14,
+ 15,
+ 10,
+ 3
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,36 +60,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 15,
- 14,
- 15,
- 10,
- 3
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 15,
- 14,
- 15,
- 10,
- 3
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_1x2x1x65536_i8/test.json b/operators/activation/clamp/clamp_1x2x1x65536_i8/test.json
index 579f2505c..d358fde7b 100644
--- a/operators/activation/clamp/clamp_1x2x1x65536_i8/test.json
+++ b/operators/activation/clamp/clamp_1x2x1x65536_i8/test.json
@@ -5,19 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -90,
- max_int: -63,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -90,
+ max_int: -63,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 65536
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 65536
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,34 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 2,
- 1,
- 65536
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 2,
- 1,
- 65536
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_1x3x65537x1x1_i8/test.json b/operators/activation/clamp/clamp_1x3x65537x1x1_i8/test.json
index ee1164a6d..77ead17b4 100644
--- a/operators/activation/clamp/clamp_1x3x65537x1x1_i8/test.json
+++ b/operators/activation/clamp/clamp_1x3x65537x1x1_i8/test.json
@@ -5,19 +5,54 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: 72,
- max_int: 91,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: 72,
+ max_int: 91,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 3,
+ 65537,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 3,
+ 65537,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,36 +60,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 3,
- 65537,
- 1,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 3,
- 65537,
- 1,
- 1
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_23_i8/test.json b/operators/activation/clamp/clamp_23_i8/test.json
index 2c3a01b7c..e6c4dcd2b 100644
--- a/operators/activation/clamp/clamp_23_i8/test.json
+++ b/operators/activation/clamp/clamp_23_i8/test.json
@@ -5,19 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -112,
- max_int: 91,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -112,
+ max_int: 91,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 23
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 23
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,28 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 23
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 23
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_23x50x28_i8/test.json b/operators/activation/clamp/clamp_23x50x28_i8/test.json
index 155c6d3d2..33c3b19b1 100644
--- a/operators/activation/clamp/clamp_23x50x28_i8/test.json
+++ b/operators/activation/clamp/clamp_23x50x28_i8/test.json
@@ -5,19 +5,50 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -118,
- max_int: -89,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -118,
+ max_int: -89,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 23,
+ 50,
+ 28
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 23,
+ 50,
+ 28
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,32 +56,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 23,
- 50,
- 28
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 23,
- 50,
- 28
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_24x43x62_i16/test.json b/operators/activation/clamp/clamp_24x43x62_i16/test.json
index b30af013b..3a0316860 100644
--- a/operators/activation/clamp/clamp_24x43x62_i16/test.json
+++ b/operators/activation/clamp/clamp_24x43x62_i16/test.json
@@ -5,19 +5,50 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -5435,
- max_int: -2232,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -5435,
+ max_int: -2232,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 24,
+ 43,
+ 62
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 24,
+ 43,
+ 62
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,32 +56,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 24,
- 43,
- 62
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 24,
- 43,
- 62
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_2x15x13x9_i8/test.json b/operators/activation/clamp/clamp_2x15x13x9_i8/test.json
index a0ab1ab87..c65f73c06 100644
--- a/operators/activation/clamp/clamp_2x15x13x9_i8/test.json
+++ b/operators/activation/clamp/clamp_2x15x13x9_i8/test.json
@@ -5,19 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -98,
- max_int: -81,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -98,
+ max_int: -81,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 15,
+ 13,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 15,
+ 13,
+ 9
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,34 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 15,
- 13,
- 9
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 15,
- 13,
- 9
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_39x57_i16/test.json b/operators/activation/clamp/clamp_39x57_i16/test.json
index 8b0e9935b..0cf574c62 100644
--- a/operators/activation/clamp/clamp_39x57_i16/test.json
+++ b/operators/activation/clamp/clamp_39x57_i16/test.json
@@ -5,19 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -10313,
- max_int: -4640,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -10313,
+ max_int: -4640,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 39,
+ 57
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 39,
+ 57
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,30 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 39,
- 57
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 39,
- 57
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_48x39_i8/test.json b/operators/activation/clamp/clamp_48x39_i8/test.json
index c791784c0..c1e03fcb6 100644
--- a/operators/activation/clamp/clamp_48x39_i8/test.json
+++ b/operators/activation/clamp/clamp_48x39_i8/test.json
@@ -5,19 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -34,
- max_int: 61,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -34,
+ max_int: 61,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 48,
+ 39
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 48,
+ 39
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,30 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 48,
- 39
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 48,
- 39
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_4x2x11x19x14_i8/test.json b/operators/activation/clamp/clamp_4x2x11x19x14_i8/test.json
index 8e4fa4df6..6f10dfb7a 100644
--- a/operators/activation/clamp/clamp_4x2x11x19x14_i8/test.json
+++ b/operators/activation/clamp/clamp_4x2x11x19x14_i8/test.json
@@ -5,19 +5,54 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -90,
- max_int: 2,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -90,
+ max_int: 2,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 2,
+ 11,
+ 19,
+ 14
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 2,
+ 11,
+ 19,
+ 14
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,36 +60,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 4,
- 2,
- 11,
- 19,
- 14
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 4,
- 2,
- 11,
- 19,
- 14
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_54_i16/test.json b/operators/activation/clamp/clamp_54_i16/test.json
index 72a10fb7b..7604c7e93 100644
--- a/operators/activation/clamp/clamp_54_i16/test.json
+++ b/operators/activation/clamp/clamp_54_i16/test.json
@@ -5,19 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: 19973,
- max_int: 22393,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: 19973,
+ max_int: 22393,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 54
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 54
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,28 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 54
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 54
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_9x17x2x14_i16/test.json b/operators/activation/clamp/clamp_9x17x2x14_i16/test.json
index 9c64d4068..f5c04e7ea 100644
--- a/operators/activation/clamp/clamp_9x17x2x14_i16/test.json
+++ b/operators/activation/clamp/clamp_9x17x2x14_i16/test.json
@@ -5,19 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -2694,
- max_int: 24984,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -2694,
+ max_int: 24984,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 9,
+ 17,
+ 2,
+ 14
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 9,
+ 17,
+ 2,
+ 14
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,34 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 9,
- 17,
- 2,
- 14
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 9,
- 17,
- 2,
- 14
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_ERRORIF_MaxSmallerMin_10x7_i16/test.json b/operators/activation/clamp/clamp_ERRORIF_MaxSmallerMin_10x7_i16/test.json
index eeb7dc6df..0a57c341d 100644
--- a/operators/activation/clamp/clamp_ERRORIF_MaxSmallerMin_10x7_i16/test.json
+++ b/operators/activation/clamp/clamp_ERRORIF_MaxSmallerMin_10x7_i16/test.json
@@ -5,19 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: 30270,
- max_int: -10555,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: 30270,
+ max_int: -10555,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 7
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 7
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,30 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 7
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 7
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongInputList_14x6_i16/test.json b/operators/activation/clamp/clamp_ERRORIF_WrongInputList_14x6_i16/test.json
index 074a21fcb..e1c6e7c3a 100644
--- a/operators/activation/clamp/clamp_ERRORIF_WrongInputList_14x6_i16/test.json
+++ b/operators/activation/clamp/clamp_ERRORIF_WrongInputList_14x6_i16/test.json
@@ -5,50 +5,55 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: 13780,
- max_int: 19124,
- min_fp: 0.0,
- max_fp: 0.0
- },
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: 13780,
+ max_int: 19124,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14,
+ 6
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 14,
+ 6
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 14,
- 6
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 14,
- 6
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongInputType_5x10x3x12_i32/test.json b/operators/activation/clamp/clamp_ERRORIF_WrongInputType_5x10x3x12_i32/test.json
index af4294624..cd2ba6e53 100644
--- a/operators/activation/clamp/clamp_ERRORIF_WrongInputType_5x10x3x12_i32/test.json
+++ b/operators/activation/clamp/clamp_ERRORIF_WrongInputType_5x10x3x12_i32/test.json
@@ -5,19 +5,52 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -675798162,
- max_int: 1524477719,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -675798162,
+ max_int: 1524477719,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 10,
+ 3,
+ 12
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 10,
+ 3,
+ 12
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,34 +58,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5,
- 10,
- 3,
- 12
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 10,
- 3,
- 12
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_10x11_i8/test.json b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_10x11_i8/test.json
index b434ce89c..9ba098a88 100644
--- a/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_10x11_i8/test.json
+++ b/operators/activation/clamp/clamp_ERRORIF_WrongOutputList_10x11_i8/test.json
@@ -5,51 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: -71,
- max_int: 86,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: -71,
+ max_int: 86,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0",
+ "eiDummyOutput"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 11
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 11
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
outputs: [
- "result-0",
- "eiDummyOutput"
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 11
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 11
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/clamp/clamp_ERRORIF_WrongOutputType_11x12x12_i8/test.json b/operators/activation/clamp/clamp_ERRORIF_WrongOutputType_11x12x12_i8/test.json
index 3830c0796..9dfc9e5f3 100644
--- a/operators/activation/clamp/clamp_ERRORIF_WrongOutputType_11x12x12_i8/test.json
+++ b/operators/activation/clamp/clamp_ERRORIF_WrongOutputType_11x12x12_i8/test.json
@@ -5,19 +5,50 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CLAMP",
- attribute_type: "ClampAttribute",
- attribute: {
- min_int: 49,
- max_int: 60,
- min_fp: 0.0,
- max_fp: 0.0
- },
+ name: "main",
+ operators: [
+ {
+ op: "CLAMP",
+ attribute_type: "ClampAttribute",
+ attribute: {
+ min_int: 49,
+ max_int: 60,
+ min_fp: 0.0,
+ max_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 12,
+ 12
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 12,
+ 12
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -25,32 +56,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 12,
- 12
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 12,
- 12
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]