| { |
| version: { |
| _major: 0, |
| _minor: 80, |
| _patch: 0, |
| _draft: true |
| }, |
| regions: [ |
| { |
| name: "main", |
| blocks: [ |
| { |
| name: "main", |
| operators: [ |
| { |
| op: "CONST", |
| attribute_type: "NONE", |
| inputs: [ |
| |
| ], |
| outputs: [ |
| "layer_0" |
| ] |
| }, |
| { |
| op: "CONCAT", |
| attribute_type: "AxisAttribute", |
| attribute: { |
| axis: 0 |
| }, |
| inputs: [ |
| "TosaInput_1", |
| "TosaInput_3", |
| "TosaInput_2", |
| "TosaInput_0" |
| ], |
| outputs: [ |
| "layer_1" |
| ] |
| }, |
| { |
| op: "RESHAPE", |
| attribute_type: "ReshapeAttribute", |
| attribute: { |
| new_shape: [ |
| 4, |
| 1, |
| 8, |
| 4, |
| 17 |
| ] |
| }, |
| inputs: [ |
| "layer_1" |
| ], |
| outputs: [ |
| "layer_2" |
| ] |
| }, |
| { |
| op: "TRANSPOSE", |
| attribute_type: "TransposeAttribute", |
| attribute: { |
| perms: [ |
| 1, |
| 2, |
| 3, |
| 4, |
| 0 |
| ] |
| }, |
| inputs: [ |
| "layer_2" |
| ], |
| outputs: [ |
| "TosaOutput_0" |
| ] |
| } |
| ], |
| tensors: [ |
| { |
| name: "TosaInput_0", |
| shape: [ |
| 1, |
| 8, |
| 4, |
| 17 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| }, |
| { |
| name: "TosaInput_1", |
| shape: [ |
| 1, |
| 8, |
| 4, |
| 17 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| }, |
| { |
| name: "TosaInput_2", |
| shape: [ |
| 1, |
| 8, |
| 4, |
| 17 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| }, |
| { |
| name: "TosaInput_3", |
| shape: [ |
| 1, |
| 8, |
| 4, |
| 17 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| }, |
| { |
| name: "TosaOutput_0", |
| shape: [ |
| 1, |
| 8, |
| 4, |
| 17, |
| 4 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| }, |
| { |
| name: "layer_0", |
| shape: [ |
| 5 |
| ], |
| type: "INT32", |
| data: [ |
| 1, |
| 0, |
| 0, |
| 0, |
| 2, |
| 0, |
| 0, |
| 0, |
| 3, |
| 0, |
| 0, |
| 0, |
| 4, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ] |
| }, |
| { |
| name: "layer_1", |
| shape: [ |
| 4, |
| 8, |
| 4, |
| 17 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| }, |
| { |
| name: "layer_2", |
| shape: [ |
| 4, |
| 1, |
| 8, |
| 4, |
| 17 |
| ], |
| type: "INT32", |
| data: [ |
| |
| ] |
| } |
| ], |
| inputs: [ |
| "TosaInput_0", |
| "TosaInput_1", |
| "TosaInput_2", |
| "TosaInput_3" |
| ], |
| outputs: [ |
| "TosaOutput_0" |
| ] |
| } |
| ] |
| } |
| ] |
| } |