{ version: { _major: 0, _minor: 50, _patch: 0, _draft: false }, 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: "TRANSPOSE", attribute_type: "TransposeAttribute", attribute: { perms: [ 1, 2, 3, 0 ] }, inputs: [ "layer_2" ], outputs: [ "layer_3" ] }, { op: "RESHAPE", attribute_type: "ReshapeAttribute", attribute: { new_shape: [ 1, 1, 8, 2 ] }, inputs: [ "layer_3" ], outputs: [ "layer_4" ] }, { op: "DEPTHWISE_CONV2D", attribute_type: "ConvAttribute", attribute: { pad: [ 0, 0, 0, 0 ], stride: [ 1, 1 ], dilation: [ 2, 1 ], input_zp: 0, weight_zp: 0, accum_dtype: "INT32" }, inputs: [ "TosaInput_0", "layer_4", "layer_1" ], outputs: [ "layer_5" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 0, output_zp: -1, multiplier: [ 2072913594, 1482336472, 1938950885, 1749241572, 1077647974, 1331307415, 1180952066, 1858315588, 1229813626, 2078664008, 1908438534, 1729325223, 1776415501, 1108276604, 1373859823, 1082204504 ], shift: [ 41, 40, 40, 38, 37, 39, 41, 39, 40, 38, 38, 38, 39, 41, 38, 37 ], scale32: true, double_round: true, per_channel: true }, inputs: [ "layer_5" ], outputs: [ "TosaOutput_0" ] } ], tensors: [ { name: "TosaInput_0", shape: [ 1, 32, 32, 8 ], type: "INT8", data: [ ] }, { name: "TosaOutput_0", shape: [ 1, 32, 32, 16 ], type: "INT8", 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: [ 16 ], 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 ] }, { name: "layer_2", shape: [ 1, 1, 1, 16 ], type: "INT8", data: [ 129, 129, 129, 129, 127, 127, 129, 127, 127, 129, 127, 129, 127, 129, 127, 127 ] }, { name: "layer_3", shape: [ 1, 1, 16, 1 ], type: "INT8", data: [ ] }, { name: "layer_4", shape: [ 1, 1, 8, 2 ], type: "INT8", data: [ ] }, { name: "layer_5", shape: [ 1, 32, 32, 16 ], type: "INT32", data: [ ] } ], inputs: [ "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } ] }