diff options
Diffstat (limited to 'operators/data_layout/concat/concat_20_b_axis0/test.json')
-rw-r--r-- | operators/data_layout/concat/concat_20_b_axis0/test.json | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_20_b_axis0/test.json b/operators/data_layout/concat/concat_20_b_axis0/test.json new file mode 100644 index 000000000..c8bc23522 --- /dev/null +++ b/operators/data_layout/concat/concat_20_b_axis0/test.json @@ -0,0 +1,130 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-3" + ] + }, + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2", + "const-3" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "BOOL" + }, + { + name: "const-1", + shape: [ + 10 + ], + type: "BOOL", + data: [ + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 0 + ] + }, + { + name: "const-2", + shape: [ + 5 + ], + type: "BOOL", + data: [ + 0, + 1, + 0, + 0, + 0 + ] + }, + { + name: "const-3", + shape: [ + 5 + ], + type: "BOOL", + data: [ + 1, + 0, + 0, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 40 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |