{ 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: 128, output_zp: 0, 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: 0, output_zp: 0, 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: [ 1, 1, 4, 2 ] }, inputs: [ "layer_5" ], outputs: [ "layer_6" ] }, { op: "DEPTHWISE_CONV2D", attribute_type: "ConvAttribute", attribute: { pad: [ 0, 0, 0, 0 ], stride: [ 1, 1 ], dilation: [ 1, 1 ], input_zp: 0, 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: -15, multiplier: [ 1617397034, 1295934021, 1965439847, 1417314708, 1201505155, 1779323804, 1294602813, 1505974402 ], shift: [ 38, 38, 40, 39, 38, 38, 39, 40 ], scale32: true, double_round: true, per_channel: true }, inputs: [ "layer_7" ], outputs: [ "layer_8" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: -15, output_zp: -15, 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: -15, output_zp: 113, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "layer_9" ], outputs: [ "TosaOutput_0" ] } ], tensors: [ { name: "TosaInput_0", shape: [ 1, 4, 4, 4 ], type: "UINT8", data: [ ] }, { name: "TosaOutput_0", shape: [ 1, 4, 4, 8 ], 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: [ 8 ], type: "INT32", data: [ 235, 30, 0, 0, 171, 0, 0, 0, 208, 27, 0, 0, 109, 165, 255, 255, 81, 244, 255, 255, 234, 250, 255, 255, 2, 224, 255, 255, 126, 241, 255, 255 ] }, { name: "layer_2", shape: [ 1, 1, 1, 8 ], type: "INT8", data: [ 127, 127, 127, 129, 129, 127, 127, 129 ] }, { name: "layer_3", shape: [ 1, 4, 4, 4 ], type: "INT8", data: [ ] }, { name: "layer_4", shape: [ 1, 4, 4, 4 ], type: "INT8", data: [ ] }, { name: "layer_5", shape: [ 1, 1, 8, 1 ], type: "INT8", data: [ ] }, { name: "layer_6", shape: [ 1, 1, 4, 2 ], type: "INT8", data: [ ] }, { name: "layer_7", shape: [ 1, 4, 4, 8 ], type: "INT32", data: [ ] }, { name: "layer_8", shape: [ 1, 4, 4, 8 ], type: "INT8", data: [ ] }, { name: "layer_9", shape: [ 1, 4, 4, 8 ], type: "INT8", data: [ ] } ], inputs: [ "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } ] }