{ version: { _major: 0, _minor: 41, _patch: 0, _draft: true }, blocks: [ { name: "main", operators: [ { op: "CONST", attribute_type: "NONE", inputs: [ ], outputs: [ "layer_0" ] }, { op: "CONST", attribute_type: "NONE", inputs: [ ], outputs: [ "layer_1" ] }, { op: "CONST", attribute_type: "NONE", inputs: [ ], outputs: [ "layer_2" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 127, output_zp: -1, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "TosaInput_0" ], outputs: [ "layer_3" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: -1, output_zp: -1, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: true, per_channel: false }, inputs: [ "layer_3" ], outputs: [ "layer_4" ] }, { op: "TRANSPOSE", attribute_type: "TransposeAttribute", attribute: { perms: [ 1, 2, 3, 0 ] }, inputs: [ "layer_2" ], outputs: [ "layer_5" ] }, { op: "RESHAPE", attribute_type: "ReshapeAttribute", attribute: { new_shape: [ 3, 3, 9, 2 ] }, inputs: [ "layer_5" ], outputs: [ "layer_6" ] }, { op: "DEPTHWISE_CONV2D", attribute_type: "ConvAttribute", attribute: { pad: [ 0, 0, 0, 0 ], stride: [ 2, 2 ], dilation: [ 1, 1 ], input_zp: -1, weight_zp: 0, accum_dtype: "INT32" }, inputs: [ "layer_4", "layer_6", "layer_1" ], outputs: [ "layer_7" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 0, output_zp: -1, multiplier: [ 1091813068, 1880455745, 1904684261, 1223456845, 2027040906, 2106104885, 1148225945, 1202272517, 1118388068, 1989190386, 1189964272, 1217613486, 1211394948, 2079862540, 1890457590, 1244032661, 1152603416, 1696563791 ], shift: [ 39, 40, 40, 39, 40, 40, 39, 39, 39, 40, 39, 39, 39, 40, 40, 39, 39, 40 ], scale32: true, double_round: true, per_channel: true }, inputs: [ "layer_7" ], outputs: [ "layer_8" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: -1, output_zp: -1, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: true, per_channel: false }, inputs: [ "layer_8" ], outputs: [ "layer_9" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: -1, output_zp: 127, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "layer_9" ], outputs: [ "TosaOutput_0" ] } ], tensors: [ { name: "TosaInput_0", shape: [ 1, 7, 7, 9 ], type: "UINT8", data: [ ] }, { name: "TosaOutput_0", shape: [ 1, 3, 3, 18 ], type: "UINT8", data: [ ] }, { name: "layer_0", shape: [ 4 ], type: "INT32", data: [ 1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0 ] }, { name: "layer_1", shape: [ 18 ], type: "INT32", data: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, { name: "layer_2", shape: [ 1, 3, 3, 18 ], type: "INT8", data: [ 234, 192, 158, 114, 234, 127, 72, 124, 91, 37, 10, 129, 156, 5, 212, 147, 216, 143, 124, 129, 56, 129, 117, 240, 83, 37, 240, 172, 169, 41, 57, 132, 188, 83, 21, 103, 127, 44, 55, 66, 165, 155, 5, 177, 184, 54, 29, 172, 1, 130, 129, 35, 242, 173, 167, 236, 70, 233, 127, 242, 243, 173, 110, 188, 51, 224, 158, 209, 223, 127, 244, 214, 226, 184, 234, 42, 201, 0, 51, 214, 129, 129, 236, 212, 15, 75, 102, 109, 45, 179, 123, 62, 33, 47, 182, 53, 168, 40, 103, 7, 129, 10, 129, 88, 176, 90, 243, 131, 48, 69, 248, 81, 197, 175, 169, 247, 11, 131, 145, 145, 80, 129, 185, 111, 243, 129, 252, 221, 129, 44, 23, 82, 129, 129, 226, 102, 211, 6, 233, 201, 240, 210, 127, 231, 25, 195, 39, 215, 119, 205, 255, 33, 211, 190, 147, 182, 59, 146, 83, 18, 71, 150, 0, 0, 0, 0, 0, 0 ] }, { name: "layer_3", shape: [ 1, 7, 7, 9 ], type: "INT8", data: [ ] }, { name: "layer_4", shape: [ 1, 7, 7, 9 ], type: "INT8", data: [ ] }, { name: "layer_5", shape: [ 3, 3, 18, 1 ], type: "INT8", data: [ ] }, { name: "layer_6", shape: [ 3, 3, 9, 2 ], type: "INT8", data: [ ] }, { name: "layer_7", shape: [ 1, 3, 3, 18 ], type: "INT32", data: [ ] }, { name: "layer_8", shape: [ 1, 3, 3, 18 ], type: "INT8", data: [ ] }, { name: "layer_9", shape: [ 1, 3, 3, 18 ], type: "INT8", data: [ ] } ], inputs: [ "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } ] }