aboutsummaryrefslogtreecommitdiff
path: root/operators/activation/sigmoid
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/sigmoid
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/sigmoid')
-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
21 files changed, 733 insertions, 628 deletions
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"
]
}
]