aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/concat/concat_20_f16_axis0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/concat/concat_20_f16_axis0')
-rw-r--r--operators/data_layout/concat/concat_20_f16_axis0/test.json233
1 files changed, 119 insertions, 114 deletions
diff --git a/operators/data_layout/concat/concat_20_f16_axis0/test.json b/operators/data_layout/concat/concat_20_f16_axis0/test.json
index a56fa2f3d..42458494d 100644
--- a/operators/data_layout/concat/concat_20_f16_axis0/test.json
+++ b/operators/data_layout/concat/concat_20_f16_axis0/test.json
@@ -5,134 +5,139 @@
_patch: 0,
_draft: true
},
- blocks: [
+ regions: [
{
name: "main",
- operators: [
+ blocks: [
{
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-2"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
- ],
- outputs: [
- "const-3"
- ]
- },
- {
- op: "CONST",
- attribute_type: "NONE",
- inputs: [
+ ],
+ outputs: [
+ "const-3"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+ ],
+ outputs: [
+ "const-4"
+ ]
+ },
+ {
+ op: "CONCAT",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0",
+ "input-1",
+ "const-2",
+ "const-3",
+ "const-4"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 10
+ ],
+ type: "FP16"
+ },
+ {
+ name: "const-2",
+ shape: [
+ 5
+ ],
+ type: "FP16",
+ data: [
+ 81,
+ 61,
+ 224,
+ 60,
+ 52,
+ 183,
+ 198,
+ 186,
+ 215,
+ 57
+ ]
+ },
+ {
+ name: "const-3",
+ shape: [
+ 2
+ ],
+ type: "FP16",
+ data: [
+ 196,
+ 189,
+ 205,
+ 188
+ ]
+ },
+ {
+ name: "const-4",
+ shape: [
+ 3
+ ],
+ type: "FP16",
+ data: [
+ 226,
+ 191,
+ 151,
+ 60,
+ 70,
+ 57
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 40
+ ],
+ type: "FP16"
+ }
],
- outputs: [
- "const-4"
- ]
- },
- {
- op: "CONCAT",
- attribute_type: "AxisAttribute",
- attribute: {
- axis: 0
- },
inputs: [
"input-0",
- "input-1",
- "const-2",
- "const-3",
- "const-4"
+ "input-1"
],
outputs: [
"result-0"
]
}
- ],
- tensors: [
- {
- name: "input-0",
- shape: [
- 20
- ],
- type: "FP16"
- },
- {
- name: "input-1",
- shape: [
- 10
- ],
- type: "FP16"
- },
- {
- name: "const-2",
- shape: [
- 5
- ],
- type: "FP16",
- data: [
- 81,
- 61,
- 224,
- 60,
- 52,
- 183,
- 198,
- 186,
- 215,
- 57
- ]
- },
- {
- name: "const-3",
- shape: [
- 2
- ],
- type: "FP16",
- data: [
- 196,
- 189,
- 205,
- 188
- ]
- },
- {
- name: "const-4",
- shape: [
- 3
- ],
- type: "FP16",
- data: [
- 226,
- 191,
- 151,
- 60,
- 70,
- 57
- ]
- },
- {
- name: "result-0",
- shape: [
- 40
- ],
- type: "FP16"
- }
- ],
- inputs: [
- "input-0",
- "input-1"
- ],
- outputs: [
- "result-0"
]
}
]