aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_ternary
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_ternary')
-rw-r--r--operators/ew_ternary/select/select_10x7x13x9x7_bf16/test.json121
-rw-r--r--operators/ew_ternary/select/select_12x10x7x13x9_i8/test.json121
-rw-r--r--operators/ew_ternary/select/select_12x12x11x12_f32/test.json113
-rw-r--r--operators/ew_ternary/select/select_12x12x11x12_i32/test.json113
-rw-r--r--operators/ew_ternary/select/select_13x7x8x1_b/test.json113
-rw-r--r--operators/ew_ternary/select/select_13x7x8x6x3_f16/test.json121
-rw-r--r--operators/ew_ternary/select/select_15x7x14x11x12_b/test.json121
-rw-r--r--operators/ew_ternary/select/select_1x1x65535x1_i8/test.json113
-rw-r--r--operators/ew_ternary/select/select_1x1x65539x1_f32/test.json113
-rw-r--r--operators/ew_ternary/select/select_1x2x65534x2x1_f32/test.json121
-rw-r--r--operators/ew_ternary/select/select_1x37x37_f32/test.json105
-rw-r--r--operators/ew_ternary/select/select_1x49_f16/test.json97
-rw-r--r--operators/ew_ternary/select/select_1x65538x1x2_i8/test.json113
-rw-r--r--operators/ew_ternary/select/select_20_b/test.json89
-rw-r--r--operators/ew_ternary/select/select_20_f16/test.json89
-rw-r--r--operators/ew_ternary/select/select_20_i8/test.json89
-rw-r--r--operators/ew_ternary/select/select_25x20_i8/test.json97
-rw-r--r--operators/ew_ternary/select/select_2x11x4x2_bf16/test.json113
-rw-r--r--operators/ew_ternary/select/select_2x11x4x2_i16/test.json113
-rw-r--r--operators/ew_ternary/select/select_2x12x10x7_f16/test.json113
-rw-r--r--operators/ew_ternary/select/select_2x12x10x7_i8/test.json113
-rw-r--r--operators/ew_ternary/select/select_2x9x14x1x13_f32/test.json121
-rw-r--r--operators/ew_ternary/select/select_36_f32/test.json89
-rw-r--r--operators/ew_ternary/select/select_36_i32/test.json89
-rw-r--r--operators/ew_ternary/select/select_37x1x26_i16/test.json105
-rw-r--r--operators/ew_ternary/select/select_40x1_b/test.json97
-rw-r--r--operators/ew_ternary/select/select_40x22_i32/test.json97
-rw-r--r--operators/ew_ternary/select/select_41x62_bf16/test.json97
-rw-r--r--operators/ew_ternary/select/select_46x23x52_b/test.json105
-rw-r--r--operators/ew_ternary/select/select_47_bf16/test.json89
-rw-r--r--operators/ew_ternary/select/select_47_i16/test.json89
-rw-r--r--operators/ew_ternary/select/select_4x2x9x14x1_i16/test.json121
-rw-r--r--operators/ew_ternary/select/select_50x53_f32/test.json97
-rw-r--r--operators/ew_ternary/select/select_51x52_i16/test.json97
-rw-r--r--operators/ew_ternary/select/select_53x46x35_i8/test.json105
-rw-r--r--operators/ew_ternary/select/select_56x37x40_f16/test.json105
-rw-r--r--operators/ew_ternary/select/select_58x19x57_i32/test.json105
-rw-r--r--operators/ew_ternary/select/select_5x10x3x12x11_i32/test.json121
-rw-r--r--operators/ew_ternary/select/select_60x53x46_bf16/test.json105
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_11x14x1x3_i16/test.json113
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_12x1_bf16/test.json97
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_RankMismatch_11x6x2_bf16/test.json107
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_RankMismatch_3x13x10x11_i16/test.json115
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json101
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x8x7_f16/test.json109
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputType_10x11_i4/test.json97
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputType_12_i4/test.json89
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x11x11_b/test.json107
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x2x12_f32/test.json107
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongOutputType_11x10x10x6_i16/test.json113
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongOutputType_12x15x10x7_f32/test.json113
51 files changed, 2829 insertions, 2574 deletions
diff --git a/operators/ew_ternary/select/select_10x7x13x9x7_bf16/test.json b/operators/ew_ternary/select/select_10x7x13x9x7_bf16/test.json
index 9a131b4bf..fd5dc5711 100644
--- a/operators/ew_ternary/select/select_10x7x13x9x7_bf16/test.json
+++ b/operators/ew_ternary/select/select_10x7x13x9x7_bf16/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 7,
+ 13,
+ 9,
+ 7
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 10,
+ 1,
+ 13,
+ 9,
+ 7
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 10,
+ 7,
+ 13,
+ 9,
+ 7
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 7,
+ 13,
+ 9,
+ 7
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 7,
- 13,
- 9,
- 7
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 10,
- 1,
- 13,
- 9,
- 7
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 10,
- 7,
- 13,
- 9,
- 7
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 7,
- 13,
- 9,
- 7
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_12x10x7x13x9_i8/test.json b/operators/ew_ternary/select/select_12x10x7x13x9_i8/test.json
index 0014ebe91..0024923ac 100644
--- a/operators/ew_ternary/select/select_12x10x7x13x9_i8/test.json
+++ b/operators/ew_ternary/select/select_12x10x7x13x9_i8/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 10,
+ 7,
+ 13,
+ 9
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12,
+ 10,
+ 1,
+ 13,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 10,
+ 7,
+ 13,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 10,
+ 7,
+ 13,
+ 9
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 10,
- 7,
- 13,
- 9
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 12,
- 10,
- 1,
- 13,
- 9
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 12,
- 10,
- 7,
- 13,
- 9
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 10,
- 7,
- 13,
- 9
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_12x12x11x12_f32/test.json b/operators/ew_ternary/select/select_12x12x11x12_f32/test.json
index 8e2c940d6..38d0a6fae 100644
--- a/operators/ew_ternary/select/select_12x12x11x12_f32/test.json
+++ b/operators/ew_ternary/select/select_12x12x11x12_f32/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 12,
+ 11,
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 12,
+ 11,
+ 12
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 12,
+ 11,
+ 12
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 12,
+ 11,
+ 12
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 12,
- 11,
- 12
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 12,
- 11,
- 12
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 12,
- 12,
- 11,
- 12
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 12,
- 11,
- 12
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_12x12x11x12_i32/test.json b/operators/ew_ternary/select/select_12x12x11x12_i32/test.json
index dbfc624c3..63dc26ac2 100644
--- a/operators/ew_ternary/select/select_12x12x11x12_i32/test.json
+++ b/operators/ew_ternary/select/select_12x12x11x12_i32/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 12,
+ 11,
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 12,
+ 11,
+ 12
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 12,
+ 11,
+ 12
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 12,
+ 11,
+ 12
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 12,
- 11,
- 12
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 12,
- 11,
- 12
- ],
- type: "INT32"
- },
- {
- name: "input-2",
- shape: [
- 12,
- 12,
- 11,
- 12
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 12,
- 11,
- 12
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_13x7x8x1_b/test.json b/operators/ew_ternary/select/select_13x7x8x1_b/test.json
index 97c859ccb..2c7648ed3 100644
--- a/operators/ew_ternary/select/select_13x7x8x1_b/test.json
+++ b/operators/ew_ternary/select/select_13x7x8x1_b/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 6
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 6
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 6
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 13,
- 7,
- 8,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 13,
- 7,
- 8,
- 6
- ],
- type: "BOOL"
- },
- {
- name: "input-2",
- shape: [
- 13,
- 7,
- 8,
- 6
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 13,
- 7,
- 8,
- 6
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_13x7x8x6x3_f16/test.json b/operators/ew_ternary/select/select_13x7x8x6x3_f16/test.json
index 60109a861..94f840bb8 100644
--- a/operators/ew_ternary/select/select_13x7x8x6x3_f16/test.json
+++ b/operators/ew_ternary/select/select_13x7x8x6x3_f16/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 6,
+ 3
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 6,
+ 3
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 1,
+ 3
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 7,
+ 8,
+ 6,
+ 3
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 13,
- 7,
- 8,
- 6,
- 3
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 13,
- 7,
- 8,
- 6,
- 3
- ],
- type: "FP16"
- },
- {
- name: "input-2",
- shape: [
- 13,
- 7,
- 8,
- 1,
- 3
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 13,
- 7,
- 8,
- 6,
- 3
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_15x7x14x11x12_b/test.json b/operators/ew_ternary/select/select_15x7x14x11x12_b/test.json
index 0d76d4ecc..8a505d0b6 100644
--- a/operators/ew_ternary/select/select_15x7x14x11x12_b/test.json
+++ b/operators/ew_ternary/select/select_15x7x14x11x12_b/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 15,
+ 7,
+ 14,
+ 11,
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 15,
+ 7,
+ 14,
+ 11,
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 7,
+ 14,
+ 11,
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 15,
+ 7,
+ 14,
+ 11,
+ 12
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 15,
- 7,
- 14,
- 11,
- 12
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 15,
- 7,
- 14,
- 11,
- 12
- ],
- type: "BOOL"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 7,
- 14,
- 11,
- 12
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 15,
- 7,
- 14,
- 11,
- 12
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_1x1x65535x1_i8/test.json b/operators/ew_ternary/select/select_1x1x65535x1_i8/test.json
index f277a4c83..92eb69ef9 100644
--- a/operators/ew_ternary/select/select_1x1x65535x1_i8/test.json
+++ b/operators/ew_ternary/select/select_1x1x65535x1_i8/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 65535,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 1,
+ 65535,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 1,
+ 65535,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 65535,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 1,
- 65535,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 1,
- 65535,
- 1
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 1,
- 65535,
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 65535,
- 1
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_1x1x65539x1_f32/test.json b/operators/ew_ternary/select/select_1x1x65539x1_f32/test.json
index fdb11b456..cbb0e110a 100644
--- a/operators/ew_ternary/select/select_1x1x65539x1_f32/test.json
+++ b/operators/ew_ternary/select/select_1x1x65539x1_f32/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 1,
+ 65539,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 1,
+ 65539,
+ 2
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 1,
+ 65539,
+ 2
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 1,
+ 65539,
+ 2
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 1,
- 65539,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 1,
- 65539,
- 2
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 1,
- 65539,
- 2
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 1,
- 65539,
- 2
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_1x2x65534x2x1_f32/test.json b/operators/ew_ternary/select/select_1x2x65534x2x1_f32/test.json
index 37f79d86d..e30dfd151 100644
--- a/operators/ew_ternary/select/select_1x2x65534x2x1_f32/test.json
+++ b/operators/ew_ternary/select/select_1x2x65534x2x1_f32/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 65534,
+ 2,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 2,
+ 1,
+ 2,
+ 1
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 2,
+ 65534,
+ 2,
+ 1
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 2,
+ 65534,
+ 2,
+ 1
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 2,
- 65534,
- 2,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 2,
- 1,
- 2,
- 1
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 2,
- 65534,
- 2,
- 1
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 2,
- 65534,
- 2,
- 1
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_1x37x37_f32/test.json b/operators/ew_ternary/select/select_1x37x37_f32/test.json
index 84c88fd13..b0a9dda6b 100644
--- a/operators/ew_ternary/select/select_1x37x37_f32/test.json
+++ b/operators/ew_ternary/select/select_1x37x37_f32/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 37,
+ 37
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 42,
+ 37,
+ 37
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 42,
+ 37,
+ 37
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 42,
+ 37,
+ 37
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 37,
- 37
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 42,
- 37,
- 37
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 42,
- 37,
- 37
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 42,
- 37,
- 37
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_1x49_f16/test.json b/operators/ew_ternary/select/select_1x49_f16/test.json
index a78043117..ad385785e 100644
--- a/operators/ew_ternary/select/select_1x49_f16/test.json
+++ b/operators/ew_ternary/select/select_1x49_f16/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 49
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 20,
+ 49
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 20,
+ 49
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20,
+ 49
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 49
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 20,
- 49
- ],
- type: "FP16"
- },
- {
- name: "input-2",
- shape: [
- 20,
- 49
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 20,
- 49
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_1x65538x1x2_i8/test.json b/operators/ew_ternary/select/select_1x65538x1x2_i8/test.json
index 69ecf8392..70d71c21d 100644
--- a/operators/ew_ternary/select/select_1x65538x1x2_i8/test.json
+++ b/operators/ew_ternary/select/select_1x65538x1x2_i8/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 65538,
+ 1,
+ 2
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 65538,
+ 1,
+ 2
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 65538,
+ 1,
+ 2
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 1,
- 65538,
- 1,
- 2
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 1,
- 1,
- 2
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 65538,
- 1,
- 2
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 1,
- 65538,
- 1,
- 2
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_20_b/test.json b/operators/ew_ternary/select/select_20_b/test.json
index b56a47835..5f2079331 100644
--- a/operators/ew_ternary/select/select_20_b/test.json
+++ b/operators/ew_ternary/select/select_20_b/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 20
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 20
- ],
- type: "BOOL"
- },
- {
- name: "input-2",
- shape: [
- 1
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 20
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_20_f16/test.json b/operators/ew_ternary/select/select_20_f16/test.json
index 8a5a1fe8b..75dd7c532 100644
--- a/operators/ew_ternary/select/select_20_f16/test.json
+++ b/operators/ew_ternary/select/select_20_f16/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 20
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 20
- ],
- type: "FP16"
- },
- {
- name: "input-2",
- shape: [
- 1
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 20
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_20_i8/test.json b/operators/ew_ternary/select/select_20_i8/test.json
index 240065ed7..1019d2469 100644
--- a/operators/ew_ternary/select/select_20_i8/test.json
+++ b/operators/ew_ternary/select/select_20_i8/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 20
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 20
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 1
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 20
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_25x20_i8/test.json b/operators/ew_ternary/select/select_25x20_i8/test.json
index 9efd79eec..5fb191bf1 100644
--- a/operators/ew_ternary/select/select_25x20_i8/test.json
+++ b/operators/ew_ternary/select/select_25x20_i8/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 25,
+ 20
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 25,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 25,
+ 20
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 25,
+ 20
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 25,
- 20
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 25,
- 1
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 25,
- 20
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 25,
- 20
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_2x11x4x2_bf16/test.json b/operators/ew_ternary/select/select_2x11x4x2_bf16/test.json
index 6cf886c7c..e110af391 100644
--- a/operators/ew_ternary/select/select_2x11x4x2_bf16/test.json
+++ b/operators/ew_ternary/select/select_2x11x4x2_bf16/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 11,
- 4,
- 2
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 11,
- 4,
- 1
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 2,
- 11,
- 4,
- 2
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 11,
- 4,
- 2
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_2x11x4x2_i16/test.json b/operators/ew_ternary/select/select_2x11x4x2_i16/test.json
index 309f0089f..68a6ec4c6 100644
--- a/operators/ew_ternary/select/select_2x11x4x2_i16/test.json
+++ b/operators/ew_ternary/select/select_2x11x4x2_i16/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 11,
+ 4,
+ 2
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 11,
- 4,
- 2
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 11,
- 4,
- 1
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 2,
- 11,
- 4,
- 2
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 11,
- 4,
- 2
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_2x12x10x7_f16/test.json b/operators/ew_ternary/select/select_2x12x10x7_f16/test.json
index 08688bc17..f1827da9f 100644
--- a/operators/ew_ternary/select/select_2x12x10x7_f16/test.json
+++ b/operators/ew_ternary/select/select_2x12x10x7_f16/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 1
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 12,
- 10,
- 7
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 12,
- 10,
- 1
- ],
- type: "FP16"
- },
- {
- name: "input-2",
- shape: [
- 2,
- 12,
- 10,
- 7
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 12,
- 10,
- 7
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_2x12x10x7_i8/test.json b/operators/ew_ternary/select/select_2x12x10x7_i8/test.json
index 9830b54f2..0dc1fa8a0 100644
--- a/operators/ew_ternary/select/select_2x12x10x7_i8/test.json
+++ b/operators/ew_ternary/select/select_2x12x10x7_i8/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 12,
+ 10,
+ 7
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 12,
- 10,
- 7
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 12,
- 10,
- 1
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 2,
- 12,
- 10,
- 7
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 12,
- 10,
- 7
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_2x9x14x1x13_f32/test.json b/operators/ew_ternary/select/select_2x9x14x1x13_f32/test.json
index 248b07de5..64b237dc6 100644
--- a/operators/ew_ternary/select/select_2x9x14x1x13_f32/test.json
+++ b/operators/ew_ternary/select/select_2x9x14x1x13_f32/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 9,
+ 14,
+ 1,
+ 13
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 9,
+ 14,
+ 1,
+ 13
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 2,
+ 1,
+ 14,
+ 1,
+ 13
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 9,
+ 14,
+ 1,
+ 13
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 2,
- 9,
- 14,
- 1,
- 13
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 2,
- 9,
- 14,
- 1,
- 13
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 2,
- 1,
- 14,
- 1,
- 13
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 2,
- 9,
- 14,
- 1,
- 13
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_36_f32/test.json b/operators/ew_ternary/select/select_36_f32/test.json
index e038c455d..bba664a6d 100644
--- a/operators/ew_ternary/select/select_36_f32/test.json
+++ b/operators/ew_ternary/select/select_36_f32/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 36
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 36
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 36
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 36
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 1
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 36
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_36_i32/test.json b/operators/ew_ternary/select/select_36_i32/test.json
index 0b8e30a47..38c20920e 100644
--- a/operators/ew_ternary/select/select_36_i32/test.json
+++ b/operators/ew_ternary/select/select_36_i32/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 36
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 36
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 36
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 36
- ],
- type: "INT32"
- },
- {
- name: "input-2",
- shape: [
- 1
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 36
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_37x1x26_i16/test.json b/operators/ew_ternary/select/select_37x1x26_i16/test.json
index 31ef1ce61..39e8eb857 100644
--- a/operators/ew_ternary/select/select_37x1x26_i16/test.json
+++ b/operators/ew_ternary/select/select_37x1x26_i16/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 37,
+ 1,
+ 26
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 37,
+ 37,
+ 26
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 37,
+ 37,
+ 26
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 37,
+ 37,
+ 26
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 37,
- 1,
- 26
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 37,
- 37,
- 26
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 37,
- 37,
- 26
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 37,
- 37,
- 26
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_40x1_b/test.json b/operators/ew_ternary/select/select_40x1_b/test.json
index 1553f6b39..83c79113c 100644
--- a/operators/ew_ternary/select/select_40x1_b/test.json
+++ b/operators/ew_ternary/select/select_40x1_b/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 40,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 40,
+ 33
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 40,
+ 33
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 40,
+ 33
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 40,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 40,
- 33
- ],
- type: "BOOL"
- },
- {
- name: "input-2",
- shape: [
- 40,
- 33
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 40,
- 33
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_40x22_i32/test.json b/operators/ew_ternary/select/select_40x22_i32/test.json
index c98f6b3bf..e86e19d4a 100644
--- a/operators/ew_ternary/select/select_40x22_i32/test.json
+++ b/operators/ew_ternary/select/select_40x22_i32/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 40,
+ 22
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 40,
+ 22
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 22
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 40,
+ 22
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 40,
- 22
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 40,
- 22
- ],
- type: "INT32"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 22
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 40,
- 22
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_41x62_bf16/test.json b/operators/ew_ternary/select/select_41x62_bf16/test.json
index 46b8d48f8..9241d5f0d 100644
--- a/operators/ew_ternary/select/select_41x62_bf16/test.json
+++ b/operators/ew_ternary/select/select_41x62_bf16/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 41,
+ 62
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 41,
+ 62
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 41,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 41,
+ 62
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 41,
- 62
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 41,
- 62
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 41,
- 1
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 41,
- 62
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_46x23x52_b/test.json b/operators/ew_ternary/select/select_46x23x52_b/test.json
index 3a3ad1d12..8426c7eef 100644
--- a/operators/ew_ternary/select/select_46x23x52_b/test.json
+++ b/operators/ew_ternary/select/select_46x23x52_b/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 46,
+ 23,
+ 52
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 46,
+ 23,
+ 52
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 46,
+ 1,
+ 52
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 46,
+ 23,
+ 52
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 46,
- 23,
- 52
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 46,
- 23,
- 52
- ],
- type: "BOOL"
- },
- {
- name: "input-2",
- shape: [
- 46,
- 1,
- 52
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 46,
- 23,
- 52
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_47_bf16/test.json b/operators/ew_ternary/select/select_47_bf16/test.json
index 245ce9c3d..bd8d0a747 100644
--- a/operators/ew_ternary/select/select_47_bf16/test.json
+++ b/operators/ew_ternary/select/select_47_bf16/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 47
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 47
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 47
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 47
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 47
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_47_i16/test.json b/operators/ew_ternary/select/select_47_i16/test.json
index abb0d9d36..8eb82fa90 100644
--- a/operators/ew_ternary/select/select_47_i16/test.json
+++ b/operators/ew_ternary/select/select_47_i16/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 47
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 47
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 47
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 47
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 47
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_4x2x9x14x1_i16/test.json b/operators/ew_ternary/select/select_4x2x9x14x1_i16/test.json
index 09aa8669c..9575aa3e5 100644
--- a/operators/ew_ternary/select/select_4x2x9x14x1_i16/test.json
+++ b/operators/ew_ternary/select/select_4x2x9x14x1_i16/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 2,
+ 9,
+ 14,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 4,
+ 2,
+ 9,
+ 14,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 4,
+ 2,
+ 9,
+ 14,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 2,
+ 9,
+ 14,
+ 1
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 4,
- 2,
- 9,
- 14,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 4,
- 2,
- 9,
- 14,
- 1
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 4,
- 2,
- 9,
- 14,
- 1
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 4,
- 2,
- 9,
- 14,
- 1
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_50x53_f32/test.json b/operators/ew_ternary/select/select_50x53_f32/test.json
index 01c352078..e0481c4c2 100644
--- a/operators/ew_ternary/select/select_50x53_f32/test.json
+++ b/operators/ew_ternary/select/select_50x53_f32/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 50,
+ 53
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 53
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 50,
+ 53
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 50,
+ 53
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 50,
- 53
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 53
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 50,
- 53
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 50,
- 53
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_51x52_i16/test.json b/operators/ew_ternary/select/select_51x52_i16/test.json
index 3db52e52c..44ae579fd 100644
--- a/operators/ew_ternary/select/select_51x52_i16/test.json
+++ b/operators/ew_ternary/select/select_51x52_i16/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 51,
+ 52
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 51,
+ 52
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 51,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 51,
+ 52
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 51,
- 52
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 51,
- 52
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 51,
- 1
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 51,
- 52
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_53x46x35_i8/test.json b/operators/ew_ternary/select/select_53x46x35_i8/test.json
index 28cae5e0b..98a0152ff 100644
--- a/operators/ew_ternary/select/select_53x46x35_i8/test.json
+++ b/operators/ew_ternary/select/select_53x46x35_i8/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 53,
+ 46,
+ 35
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 53,
+ 46,
+ 35
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 53,
+ 1,
+ 35
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 53,
+ 46,
+ 35
+ ],
+ type: "INT8"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 53,
- 46,
- 35
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 53,
- 46,
- 35
- ],
- type: "INT8"
- },
- {
- name: "input-2",
- shape: [
- 53,
- 1,
- 35
- ],
- type: "INT8"
- },
- {
- name: "result-0",
- shape: [
- 53,
- 46,
- 35
- ],
- type: "INT8"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_56x37x40_f16/test.json b/operators/ew_ternary/select/select_56x37x40_f16/test.json
index e566d30d3..8de0b4573 100644
--- a/operators/ew_ternary/select/select_56x37x40_f16/test.json
+++ b/operators/ew_ternary/select/select_56x37x40_f16/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 56,
+ 37,
+ 40
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 37,
+ 40
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 56,
+ 37,
+ 40
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 56,
+ 37,
+ 40
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 56,
- 37,
- 40
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 37,
- 40
- ],
- type: "FP16"
- },
- {
- name: "input-2",
- shape: [
- 56,
- 37,
- 40
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 56,
- 37,
- 40
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_58x19x57_i32/test.json b/operators/ew_ternary/select/select_58x19x57_i32/test.json
index 7193a18b1..a986b4a25 100644
--- a/operators/ew_ternary/select/select_58x19x57_i32/test.json
+++ b/operators/ew_ternary/select/select_58x19x57_i32/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 58,
+ 19,
+ 57
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 58,
+ 19,
+ 57
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 19,
+ 57
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 58,
+ 19,
+ 57
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 58,
- 19,
- 57
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 58,
- 19,
- 57
- ],
- type: "INT32"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 19,
- 57
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 58,
- 19,
- 57
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_5x10x3x12x11_i32/test.json b/operators/ew_ternary/select/select_5x10x3x12x11_i32/test.json
index e7b4381ff..c9b788164 100644
--- a/operators/ew_ternary/select/select_5x10x3x12x11_i32/test.json
+++ b/operators/ew_ternary/select/select_5x10x3x12x11_i32/test.json
@@ -5,13 +5,72 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 10,
+ 3,
+ 12,
+ 11
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 10,
+ 3,
+ 12,
+ 11
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 5,
+ 10,
+ 3,
+ 12,
+ 11
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 10,
+ 3,
+ 12,
+ 11
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,60 +80,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 5,
- 10,
- 3,
- 12,
- 11
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 10,
- 3,
- 12,
- 11
- ],
- type: "INT32"
- },
- {
- name: "input-2",
- shape: [
- 5,
- 10,
- 3,
- 12,
- 11
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 5,
- 10,
- 3,
- 12,
- 11
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_60x53x46_bf16/test.json b/operators/ew_ternary/select/select_60x53x46_bf16/test.json
index c7a08cdf9..0b5605944 100644
--- a/operators/ew_ternary/select/select_60x53x46_bf16/test.json
+++ b/operators/ew_ternary/select/select_60x53x46_bf16/test.json
@@ -5,13 +5,64 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 60,
+ 53,
+ 46
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 60,
+ 53,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 60,
+ 53,
+ 46
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 60,
+ 53,
+ 46
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,52 +72,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 60,
- 53,
- 46
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 60,
- 53,
- 1
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 60,
- 53,
- 46
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 60,
- 53,
- 46
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_11x14x1x3_i16/test.json b/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_11x14x1x3_i16/test.json
index e6252927c..37a5c9177 100644
--- a/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_11x14x1x3_i16/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_11x14x1x3_i16/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 14,
+ 1,
+ 3
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 15,
+ 1,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 11,
+ 14,
+ 1,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 14,
+ 1,
+ 3
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 14,
- 1,
- 3
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 11,
- 15,
- 1,
- 3
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 11,
- 14,
- 1,
- 3
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 14,
- 1,
- 3
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_12x1_bf16/test.json b/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_12x1_bf16/test.json
index 2a23947f5..cfea0d284 100644
--- a/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_12x1_bf16/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_DimensionMismatch_12x1_bf16/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 13,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 1
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 13,
- 1
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 12,
- 1
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 1
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_RankMismatch_11x6x2_bf16/test.json b/operators/ew_ternary/select/select_ERRORIF_RankMismatch_11x6x2_bf16/test.json
index 36688d9a5..bc0153f49 100644
--- a/operators/ew_ternary/select/select_ERRORIF_RankMismatch_11x6x2_bf16/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_RankMismatch_11x6x2_bf16/test.json
@@ -5,13 +5,65 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 6,
+ 2
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 6,
+ 2
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 11,
+ 6,
+ 2,
+ 14
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 6,
+ 2
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,53 +73,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 6,
- 2
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 11,
- 6,
- 2
- ],
- type: "BF16"
- },
- {
- name: "input-2",
- shape: [
- 11,
- 6,
- 2,
- 14
- ],
- type: "BF16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 6,
- 2
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_RankMismatch_3x13x10x11_i16/test.json b/operators/ew_ternary/select/select_ERRORIF_RankMismatch_3x13x10x11_i16/test.json
index 64d270780..c26f75a4b 100644
--- a/operators/ew_ternary/select/select_ERRORIF_RankMismatch_3x13x10x11_i16/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_RankMismatch_3x13x10x11_i16/test.json
@@ -5,13 +5,69 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3,
+ 13,
+ 10,
+ 11
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 3,
+ 13,
+ 10,
+ 11,
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 3,
+ 13,
+ 10,
+ 11
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 3,
+ 13,
+ 10,
+ 11
+ ],
+ type: "INT16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,57 +77,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 3,
- 13,
- 10,
- 11
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 3,
- 13,
- 10,
- 11,
- 12
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 3,
- 13,
- 10,
- 11
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 3,
- 13,
- 10,
- 11
- ],
- type: "INT16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json
index 7659aea5a..362d236ae 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json
@@ -5,65 +5,70 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 11,
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "INT32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
- "input-2",
- "eiDummyInput"
+ "input-2"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 5
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 11,
- 5
- ],
- type: "INT32"
- },
- {
- name: "input-2",
- shape: [
- 11,
- 1
- ],
- type: "INT32"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 5
- ],
- type: "INT32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x8x7_f16/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x8x7_f16/test.json
index 77e50a823..95b166567 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x8x7_f16/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x8x7_f16/test.json
@@ -5,69 +5,74 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 8,
+ 7
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 1,
+ 7
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 11,
+ 8,
+ 7
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 8,
+ 7
+ ],
+ type: "FP16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
- "input-2",
- "eiDummyInput"
+ "input-2"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 8,
- 7
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 11,
- 1,
- 7
- ],
- type: "FP16"
- },
- {
- name: "input-2",
- shape: [
- 11,
- 8,
- 7
- ],
- type: "FP16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 8,
- 7
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputType_10x11_i4/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputType_10x11_i4/test.json
index 3f9e7196c..7c2b8f7eb 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongInputType_10x11_i4/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputType_10x11_i4/test.json
@@ -5,13 +5,60 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 11
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 11
+ ],
+ type: "INT4"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 10,
+ 11
+ ],
+ type: "INT4"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 11
+ ],
+ type: "INT4"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,48 +68,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 11
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 1,
- 11
- ],
- type: "INT4"
- },
- {
- name: "input-2",
- shape: [
- 10,
- 11
- ],
- type: "INT4"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 11
- ],
- type: "INT4"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputType_12_i4/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputType_12_i4/test.json
index 466e54c82..b90e04af9 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongInputType_12_i4/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputType_12_i4/test.json
@@ -5,13 +5,56 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12
+ ],
+ type: "INT4"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1
+ ],
+ type: "INT4"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12
+ ],
+ type: "INT4"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,44 +64,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 12
- ],
- type: "INT4"
- },
- {
- name: "input-2",
- shape: [
- 1
- ],
- type: "INT4"
- },
- {
- name: "result-0",
- shape: [
- 12
- ],
- type: "INT4"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x11x11_b/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x11x11_b/test.json
index 9bac992d9..082721c77 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x11x11_b/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x11x11_b/test.json
@@ -5,68 +5,73 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 11,
+ 11
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 10,
+ 11,
+ 11
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 10,
+ 11,
+ 1
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 11,
+ 11
+ ],
+ type: "BOOL"
+ }
+ ],
inputs: [
"input-0",
"input-1",
"input-2"
],
outputs: [
-
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 11,
- 11
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 10,
- 11,
- 11
- ],
- type: "BOOL"
- },
- {
- name: "input-2",
- shape: [
- 10,
- 11,
- 1
- ],
- type: "BOOL"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 11,
- 11
- ],
- type: "BOOL"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x2x12_f32/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x2x12_f32/test.json
index d6b6b5047..6b3f15019 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x2x12_f32/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongOutputList_10x2x12_f32/test.json
@@ -5,68 +5,73 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 2,
+ 12
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 10,
+ 2,
+ 1
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 10,
+ 2,
+ 12
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 2,
+ 12
+ ],
+ type: "FP32"
+ }
+ ],
inputs: [
"input-0",
"input-1",
"input-2"
],
outputs: [
-
+ "result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 10,
- 2,
- 12
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 10,
- 2,
- 1
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 10,
- 2,
- 12
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 10,
- 2,
- 12
- ],
- type: "FP32"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_11x10x10x6_i16/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_11x10x10x6_i16/test.json
index 1f37baed9..1a262d79e 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_11x10x10x6_i16/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_11x10x10x6_i16/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 10,
+ 10,
+ 6
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 10,
+ 10,
+ 6
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 1,
+ 10,
+ 10,
+ 6
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10,
+ 10,
+ 6
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 11,
- 10,
- 10,
- 6
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 11,
- 10,
- 10,
- 6
- ],
- type: "INT16"
- },
- {
- name: "input-2",
- shape: [
- 1,
- 10,
- 10,
- 6
- ],
- type: "INT16"
- },
- {
- name: "result-0",
- shape: [
- 11,
- 10,
- 10,
- 6
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_12x15x10x7_f32/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_12x15x10x7_f32/test.json
index f66eaec27..31fbc5711 100644
--- a/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_12x15x10x7_f32/test.json
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongOutputType_12x15x10x7_f32/test.json
@@ -5,13 +5,68 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "SELECT",
- attribute_type: "NONE",
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 15,
+ 10,
+ 7
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12,
+ 1,
+ 10,
+ 7
+ ],
+ type: "FP32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 15,
+ 10,
+ 7
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 15,
+ 10,
+ 7
+ ],
+ type: "BF16"
+ }
+ ],
inputs: [
"input-0",
"input-1",
@@ -21,56 +76,6 @@
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 12,
- 15,
- 10,
- 7
- ],
- type: "BOOL"
- },
- {
- name: "input-1",
- shape: [
- 12,
- 1,
- 10,
- 7
- ],
- type: "FP32"
- },
- {
- name: "input-2",
- shape: [
- 12,
- 15,
- 10,
- 7
- ],
- type: "FP32"
- },
- {
- name: "result-0",
- shape: [
- 12,
- 15,
- 10,
- 7
- ],
- type: "BF16"
- }
- ],
- inputs: [
- "input-0",
- "input-1",
- "input-2"
- ],
- outputs: [
- "result-0"
]
}
]