aboutsummaryrefslogtreecommitdiff
path: root/operators/activation
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
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')
-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
-rw-r--r--operators/activation/sigmoid/sigmoid_14x14x13x15x10_f32/test.json73
-rw-r--r--operators/activation/sigmoid/sigmoid_1x2x65538x2x1_f32/test.json73
-rw-r--r--operators/activation/sigmoid/sigmoid_1x3x1x65533_f32/test.json69
-rw-r--r--operators/activation/sigmoid/sigmoid_20_f32/test.json57
-rw-r--r--operators/activation/sigmoid/sigmoid_20x41x62_f32/test.json65
-rw-r--r--operators/activation/sigmoid/sigmoid_2x14x12x8_f32/test.json69
-rw-r--r--operators/activation/sigmoid/sigmoid_37x36_f32/test.json61
-rw-r--r--operators/activation/sigmoid/sigmoid_3x16x9x10x7_f16/test.json73
-rw-r--r--operators/activation/sigmoid/sigmoid_47_bf16/test.json57
-rw-r--r--operators/activation/sigmoid/sigmoid_49x25_bf16/test.json61
-rw-r--r--operators/activation/sigmoid/sigmoid_4x17x15x12x8_bf16/test.json73
-rw-r--r--operators/activation/sigmoid/sigmoid_4x2x10x18_bf16/test.json69
-rw-r--r--operators/activation/sigmoid/sigmoid_51x52x50_f16/test.json65
-rw-r--r--operators/activation/sigmoid/sigmoid_53_f16/test.json57
-rw-r--r--operators/activation/sigmoid/sigmoid_53x40x22_bf16/test.json65
-rw-r--r--operators/activation/sigmoid/sigmoid_57x20_f16/test.json61
-rw-r--r--operators/activation/sigmoid/sigmoid_8x16x2x13_f16/test.json69
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputList_11x10_bf16/test.json63
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputType_7x4x2_i32/test.json65
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json59
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputType_12_f16/test.json57
-rw-r--r--operators/activation/tanh/tanh_10x20x2x17_f16/test.json69
-rw-r--r--operators/activation/tanh/tanh_1x65535x2x1x1_f32/test.json73
-rw-r--r--operators/activation/tanh/tanh_1x65540x1x2_f32/test.json69
-rw-r--r--operators/activation/tanh/tanh_21_f32/test.json57
-rw-r--r--operators/activation/tanh/tanh_21x40x58_f32/test.json65
-rw-r--r--operators/activation/tanh/tanh_36x36_f32/test.json61
-rw-r--r--operators/activation/tanh/tanh_3x18x16x11_f32/test.json69
-rw-r--r--operators/activation/tanh/tanh_3x20x11x12x9_f16/test.json73
-rw-r--r--operators/activation/tanh/tanh_45_bf16/test.json57
-rw-r--r--operators/activation/tanh/tanh_47x26_bf16/test.json61
-rw-r--r--operators/activation/tanh/tanh_48x49x48_f16/test.json65
-rw-r--r--operators/activation/tanh/tanh_50_f16/test.json57
-rw-r--r--operators/activation/tanh/tanh_51x39x23_bf16/test.json65
-rw-r--r--operators/activation/tanh/tanh_54x21_f16/test.json61
-rw-r--r--operators/activation/tanh/tanh_5x22x18x15x10_bf16/test.json73
-rw-r--r--operators/activation/tanh/tanh_5x3x13x23_bf16/test.json69
-rw-r--r--operators/activation/tanh/tanh_ERRORIF_WrongInputList_11x10_bf16/test.json63
-rw-r--r--operators/activation/tanh/tanh_ERRORIF_WrongInputType_7x4x2_i32/test.json65
-rw-r--r--operators/activation/tanh/tanh_ERRORIF_WrongOutputList_11_f16/test.json59
-rw-r--r--operators/activation/tanh/tanh_ERRORIF_WrongOutputType_12_f16/test.json57
58 files changed, 2129 insertions, 1839 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"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_14x14x13x15x10_f32/test.json b/operators/activation/sigmoid/sigmoid_14x14x13x15x10_f32/test.json
index 4f052a8ea..b1acf4c6f 100644
--- a/operators/activation/sigmoid/sigmoid_14x14x13x15x10_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_14x14x13x15x10_f32/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14,
+ 14,
+ 13,
+ 15,
+ 10
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 14,
+ 14,
+ 13,
+ 15,
+ 10
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 14,
- 14,
- 13,
- 15,
- 10
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 14,
- 14,
- 13,
- 15,
- 10
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_1x2x65538x2x1_f32/test.json b/operators/activation/sigmoid/sigmoid_1x2x65538x2x1_f32/test.json
index 26dfaa42b..a239c6953 100644
--- a/operators/activation/sigmoid/sigmoid_1x2x65538x2x1_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_1x2x65538x2x1_f32/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 65538,
+ 2,
+ 1
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 2,
+ 65538,
+ 2,
+ 1
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 2,
- 65538,
- 2,
- 1
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 2,
- 65538,
- 2,
- 1
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_1x3x1x65533_f32/test.json b/operators/activation/sigmoid/sigmoid_1x3x1x65533_f32/test.json
index 42953376f..29ef8605e 100644
--- a/operators/activation/sigmoid/sigmoid_1x3x1x65533_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_1x3x1x65533_f32/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 3,
+ 1,
+ 65533
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 3,
+ 1,
+ 65533
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 3,
- 1,
- 65533
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 3,
- 1,
- 65533
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_20_f32/test.json b/operators/activation/sigmoid/sigmoid_20_f32/test.json
index 6e5ae8e36..01d5d9c1c 100644
--- a/operators/activation/sigmoid/sigmoid_20_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_20_f32/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 20
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_20x41x62_f32/test.json b/operators/activation/sigmoid/sigmoid_20x41x62_f32/test.json
index b3f62299c..06dc30f79 100644
--- a/operators/activation/sigmoid/sigmoid_20x41x62_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_20x41x62_f32/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20,
+ 41,
+ 62
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20,
+ 41,
+ 62
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20,
- 41,
- 62
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 20,
- 41,
- 62
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_2x14x12x8_f32/test.json b/operators/activation/sigmoid/sigmoid_2x14x12x8_f32/test.json
index 95508d973..32eef733f 100644
--- a/operators/activation/sigmoid/sigmoid_2x14x12x8_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_2x14x12x8_f32/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 14,
+ 12,
+ 8
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 14,
+ 12,
+ 8
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 14,
- 12,
- 8
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 14,
- 12,
- 8
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_37x36_f32/test.json b/operators/activation/sigmoid/sigmoid_37x36_f32/test.json
index 36a4449c9..0343970d5 100644
--- a/operators/activation/sigmoid/sigmoid_37x36_f32/test.json
+++ b/operators/activation/sigmoid/sigmoid_37x36_f32/test.json
@@ -5,13 +5,42 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 36
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 37,
+ 36
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,30 +48,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 36
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 37,
- 36
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_3x16x9x10x7_f16/test.json b/operators/activation/sigmoid/sigmoid_3x16x9x10x7_f16/test.json
index 1112743fc..27a98e0fb 100644
--- a/operators/activation/sigmoid/sigmoid_3x16x9x10x7_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_3x16x9x10x7_f16/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3,
+ 16,
+ 9,
+ 10,
+ 7
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 16,
+ 9,
+ 10,
+ 7
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3,
- 16,
- 9,
- 10,
- 7
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 16,
- 9,
- 10,
- 7
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_47_bf16/test.json b/operators/activation/sigmoid/sigmoid_47_bf16/test.json
index 1238e9cee..b98758809 100644
--- a/operators/activation/sigmoid/sigmoid_47_bf16/test.json
+++ b/operators/activation/sigmoid/sigmoid_47_bf16/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 47
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 47
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 47
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_49x25_bf16/test.json b/operators/activation/sigmoid/sigmoid_49x25_bf16/test.json
index 9a3be826d..15dd5e7c6 100644
--- a/operators/activation/sigmoid/sigmoid_49x25_bf16/test.json
+++ b/operators/activation/sigmoid/sigmoid_49x25_bf16/test.json
@@ -5,13 +5,42 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 49,
+ 25
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 49,
+ 25
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,30 +48,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 49,
- 25
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 49,
- 25
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_4x17x15x12x8_bf16/test.json b/operators/activation/sigmoid/sigmoid_4x17x15x12x8_bf16/test.json
index 470d9049b..f45f92063 100644
--- a/operators/activation/sigmoid/sigmoid_4x17x15x12x8_bf16/test.json
+++ b/operators/activation/sigmoid/sigmoid_4x17x15x12x8_bf16/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 17,
+ 15,
+ 12,
+ 8
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 17,
+ 15,
+ 12,
+ 8
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 4,
- 17,
- 15,
- 12,
- 8
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 4,
- 17,
- 15,
- 12,
- 8
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_4x2x10x18_bf16/test.json b/operators/activation/sigmoid/sigmoid_4x2x10x18_bf16/test.json
index 58a82e4cb..8b07b54a3 100644
--- a/operators/activation/sigmoid/sigmoid_4x2x10x18_bf16/test.json
+++ b/operators/activation/sigmoid/sigmoid_4x2x10x18_bf16/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 2,
+ 10,
+ 18
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 2,
+ 10,
+ 18
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 4,
- 2,
- 10,
- 18
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 4,
- 2,
- 10,
- 18
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_51x52x50_f16/test.json b/operators/activation/sigmoid/sigmoid_51x52x50_f16/test.json
index ef29ed5de..6dd241508 100644
--- a/operators/activation/sigmoid/sigmoid_51x52x50_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_51x52x50_f16/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 51,
+ 52,
+ 50
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 51,
+ 52,
+ 50
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 51,
- 52,
- 50
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 51,
- 52,
- 50
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_53_f16/test.json b/operators/activation/sigmoid/sigmoid_53_f16/test.json
index d7502b434..cd9f3cba2 100644
--- a/operators/activation/sigmoid/sigmoid_53_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_53_f16/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 53
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 53
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 53
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 53
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_53x40x22_bf16/test.json b/operators/activation/sigmoid/sigmoid_53x40x22_bf16/test.json
index 46604dd6c..560839026 100644
--- a/operators/activation/sigmoid/sigmoid_53x40x22_bf16/test.json
+++ b/operators/activation/sigmoid/sigmoid_53x40x22_bf16/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 53,
+ 40,
+ 22
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 53,
+ 40,
+ 22
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 53,
- 40,
- 22
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 53,
- 40,
- 22
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_57x20_f16/test.json b/operators/activation/sigmoid/sigmoid_57x20_f16/test.json
index b1867ba6f..9680e11a5 100644
--- a/operators/activation/sigmoid/sigmoid_57x20_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_57x20_f16/test.json
@@ -5,13 +5,42 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 57,
+ 20
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 57,
+ 20
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,30 +48,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 57,
- 20
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 57,
- 20
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_8x16x2x13_f16/test.json b/operators/activation/sigmoid/sigmoid_8x16x2x13_f16/test.json
index 490cdc5be..7d59e8dd8 100644
--- a/operators/activation/sigmoid/sigmoid_8x16x2x13_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_8x16x2x13_f16/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 8,
+ 16,
+ 2,
+ 13
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 8,
+ 16,
+ 2,
+ 13
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 8,
- 16,
- 2,
- 13
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 8,
- 16,
- 2,
- 13
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputList_11x10_bf16/test.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputList_11x10_bf16/test.json
index 35394d779..d05f347f3 100644
--- a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputList_11x10_bf16/test.json
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputList_11x10_bf16/test.json
@@ -5,44 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 10
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 10
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 10
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputType_7x4x2_i32/test.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputType_7x4x2_i32/test.json
index 9f03cf958..a230195d0 100644
--- a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputType_7x4x2_i32/test.json
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongInputType_7x4x2_i32/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7,
+ 4,
+ 2
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 4,
+ 2
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 7,
- 4,
- 2
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 7,
- 4,
- 2
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json
index 80afbe2e3..8a7f5e5bc 100644
--- a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json
@@ -5,42 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
outputs: [
-
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 11
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputType_12_f16/test.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputType_12_f16/test.json
index f54351124..a02fc4b45 100644
--- a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputType_12_f16/test.json
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputType_12_f16/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SIGMOID",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SIGMOID",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 12
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_10x20x2x17_f16/test.json b/operators/activation/tanh/tanh_10x20x2x17_f16/test.json
index 559589c4e..896c3f8aa 100644
--- a/operators/activation/tanh/tanh_10x20x2x17_f16/test.json
+++ b/operators/activation/tanh/tanh_10x20x2x17_f16/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 20,
+ 2,
+ 17
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 20,
+ 2,
+ 17
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 20,
- 2,
- 17
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 20,
- 2,
- 17
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_1x65535x2x1x1_f32/test.json b/operators/activation/tanh/tanh_1x65535x2x1x1_f32/test.json
index 172315bfd..b9b9de0da 100644
--- a/operators/activation/tanh/tanh_1x65535x2x1x1_f32/test.json
+++ b/operators/activation/tanh/tanh_1x65535x2x1x1_f32/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65535,
+ 2,
+ 1,
+ 1
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65535,
+ 2,
+ 1,
+ 1
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65535,
- 2,
- 1,
- 1
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65535,
- 2,
- 1,
- 1
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_1x65540x1x2_f32/test.json b/operators/activation/tanh/tanh_1x65540x1x2_f32/test.json
index 6fc69a244..4c4d35eab 100644
--- a/operators/activation/tanh/tanh_1x65540x1x2_f32/test.json
+++ b/operators/activation/tanh/tanh_1x65540x1x2_f32/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65540,
+ 1,
+ 2
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65540,
+ 1,
+ 2
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65540,
- 1,
- 2
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65540,
- 1,
- 2
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_21_f32/test.json b/operators/activation/tanh/tanh_21_f32/test.json
index 179b748b8..b01019783 100644
--- a/operators/activation/tanh/tanh_21_f32/test.json
+++ b/operators/activation/tanh/tanh_21_f32/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 21
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 21
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 21
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 21
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_21x40x58_f32/test.json b/operators/activation/tanh/tanh_21x40x58_f32/test.json
index 633e16f0a..397ac718b 100644
--- a/operators/activation/tanh/tanh_21x40x58_f32/test.json
+++ b/operators/activation/tanh/tanh_21x40x58_f32/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 21,
+ 40,
+ 58
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 21,
+ 40,
+ 58
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 21,
- 40,
- 58
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 21,
- 40,
- 58
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_36x36_f32/test.json b/operators/activation/tanh/tanh_36x36_f32/test.json
index 4a9cda0dc..db9e9fc2e 100644
--- a/operators/activation/tanh/tanh_36x36_f32/test.json
+++ b/operators/activation/tanh/tanh_36x36_f32/test.json
@@ -5,13 +5,42 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 36,
+ 36
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36,
+ 36
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,30 +48,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 36,
- 36
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 36,
- 36
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_3x18x16x11_f32/test.json b/operators/activation/tanh/tanh_3x18x16x11_f32/test.json
index e0f58a9fa..a42fcf360 100644
--- a/operators/activation/tanh/tanh_3x18x16x11_f32/test.json
+++ b/operators/activation/tanh/tanh_3x18x16x11_f32/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3,
+ 18,
+ 16,
+ 11
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 18,
+ 16,
+ 11
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3,
- 18,
- 16,
- 11
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 18,
- 16,
- 11
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_3x20x11x12x9_f16/test.json b/operators/activation/tanh/tanh_3x20x11x12x9_f16/test.json
index 58d03b017..1528cbd31 100644
--- a/operators/activation/tanh/tanh_3x20x11x12x9_f16/test.json
+++ b/operators/activation/tanh/tanh_3x20x11x12x9_f16/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3,
+ 20,
+ 11,
+ 12,
+ 9
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 20,
+ 11,
+ 12,
+ 9
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3,
- 20,
- 11,
- 12,
- 9
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 20,
- 11,
- 12,
- 9
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_45_bf16/test.json b/operators/activation/tanh/tanh_45_bf16/test.json
index 447e6b588..052cdf3e5 100644
--- a/operators/activation/tanh/tanh_45_bf16/test.json
+++ b/operators/activation/tanh/tanh_45_bf16/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 45
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 45
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 45
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 45
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_47x26_bf16/test.json b/operators/activation/tanh/tanh_47x26_bf16/test.json
index 0b7327f43..1542d6d22 100644
--- a/operators/activation/tanh/tanh_47x26_bf16/test.json
+++ b/operators/activation/tanh/tanh_47x26_bf16/test.json
@@ -5,13 +5,42 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 47,
+ 26
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47,
+ 26
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,30 +48,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 47,
- 26
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 47,
- 26
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_48x49x48_f16/test.json b/operators/activation/tanh/tanh_48x49x48_f16/test.json
index 351026137..d741e9857 100644
--- a/operators/activation/tanh/tanh_48x49x48_f16/test.json
+++ b/operators/activation/tanh/tanh_48x49x48_f16/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 48,
+ 49,
+ 48
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 48,
+ 49,
+ 48
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 48,
- 49,
- 48
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 48,
- 49,
- 48
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_50_f16/test.json b/operators/activation/tanh/tanh_50_f16/test.json
index c5f451e5b..c54e8bdc1 100644
--- a/operators/activation/tanh/tanh_50_f16/test.json
+++ b/operators/activation/tanh/tanh_50_f16/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 50
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 50
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 50
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 50
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_51x39x23_bf16/test.json b/operators/activation/tanh/tanh_51x39x23_bf16/test.json
index b95db2a45..156add33a 100644
--- a/operators/activation/tanh/tanh_51x39x23_bf16/test.json
+++ b/operators/activation/tanh/tanh_51x39x23_bf16/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 51,
+ 39,
+ 23
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 51,
+ 39,
+ 23
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 51,
- 39,
- 23
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 51,
- 39,
- 23
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_54x21_f16/test.json b/operators/activation/tanh/tanh_54x21_f16/test.json
index e11b9b45f..30cf06861 100644
--- a/operators/activation/tanh/tanh_54x21_f16/test.json
+++ b/operators/activation/tanh/tanh_54x21_f16/test.json
@@ -5,13 +5,42 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 54,
+ 21
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 54,
+ 21
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,30 +48,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 54,
- 21
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 54,
- 21
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_5x22x18x15x10_bf16/test.json b/operators/activation/tanh/tanh_5x22x18x15x10_bf16/test.json
index e47b8c710..a82c36a36 100644
--- a/operators/activation/tanh/tanh_5x22x18x15x10_bf16/test.json
+++ b/operators/activation/tanh/tanh_5x22x18x15x10_bf16/test.json
@@ -5,13 +5,48 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 22,
+ 18,
+ 15,
+ 10
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 22,
+ 18,
+ 15,
+ 10
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,36 +54,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5,
- 22,
- 18,
- 15,
- 10
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 22,
- 18,
- 15,
- 10
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_5x3x13x23_bf16/test.json b/operators/activation/tanh/tanh_5x3x13x23_bf16/test.json
index bff1547dd..57aeaa9b3 100644
--- a/operators/activation/tanh/tanh_5x3x13x23_bf16/test.json
+++ b/operators/activation/tanh/tanh_5x3x13x23_bf16/test.json
@@ -5,13 +5,46 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 3,
+ 13,
+ 23
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 3,
+ 13,
+ 23
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,34 +52,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5,
- 3,
- 13,
- 23
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 3,
- 13,
- 23
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_ERRORIF_WrongInputList_11x10_bf16/test.json b/operators/activation/tanh/tanh_ERRORIF_WrongInputList_11x10_bf16/test.json
index ac9a23480..aa756ce84 100644
--- a/operators/activation/tanh/tanh_ERRORIF_WrongInputList_11x10_bf16/test.json
+++ b/operators/activation/tanh/tanh_ERRORIF_WrongInputList_11x10_bf16/test.json
@@ -5,44 +5,49 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 10
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 10
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 10
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_ERRORIF_WrongInputType_7x4x2_i32/test.json b/operators/activation/tanh/tanh_ERRORIF_WrongInputType_7x4x2_i32/test.json
index 5f51e1d4a..f045f7687 100644
--- a/operators/activation/tanh/tanh_ERRORIF_WrongInputType_7x4x2_i32/test.json
+++ b/operators/activation/tanh/tanh_ERRORIF_WrongInputType_7x4x2_i32/test.json
@@ -5,13 +5,44 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7,
+ 4,
+ 2
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 4,
+ 2
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,32 +50,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 7,
- 4,
- 2
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 7,
- 4,
- 2
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_ERRORIF_WrongOutputList_11_f16/test.json b/operators/activation/tanh/tanh_ERRORIF_WrongOutputList_11_f16/test.json
index 2357afb63..e45a3e776 100644
--- a/operators/activation/tanh/tanh_ERRORIF_WrongOutputList_11_f16/test.json
+++ b/operators/activation/tanh/tanh_ERRORIF_WrongOutputList_11_f16/test.json
@@ -5,42 +5,47 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0"
],
outputs: [
-
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 11
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/activation/tanh/tanh_ERRORIF_WrongOutputType_12_f16/test.json b/operators/activation/tanh/tanh_ERRORIF_WrongOutputType_12_f16/test.json
index 2e75e80af..8fb48be73 100644
--- a/operators/activation/tanh/tanh_ERRORIF_WrongOutputType_12_f16/test.json
+++ b/operators/activation/tanh/tanh_ERRORIF_WrongOutputType_12_f16/test.json
@@ -5,13 +5,40 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "TANH",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "TANH",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0"
],
@@ -19,28 +46,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 12
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0"
- ],
- outputs: [
- "result-0"
]
}
]