{ 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, 8, 2 ] }, inputs: [ "layer_5" ], outputs: [ "layer_6" ] }, { op: "DEPTHWISE_CONV2D", attribute_type: "ConvAttribute", attribute: { pad: [ 0, 0, 0, 0 ], stride: [ 1, 1 ], dilation: [ 2, 2 ], 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: 9, multiplier: [ 1289733168, 1659333964, 1756807644, 1616530809, 1805805745, 1813468690, 1682068509, 1812131591, 1731250513, 1476360945, 1677113882, 1743763257, 1797116533, 1695995390, 1633947430, 1732167770 ], shift: [ 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40 ], scale32: true, double_round: true, per_channel: true }, inputs: [ "layer_7" ], outputs: [ "layer_8" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 9, output_zp: 9, 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: 9, output_zp: 137, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "layer_9" ], outputs: [ "TosaOutput_0" ] } ], tensors: [ { name: "TosaInput_0", shape: [ 1, 32, 32, 8 ], type: "UINT8", data: [ ] }, { name: "TosaOutput_0", shape: [ 1, 28, 28, 16 ], 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: [ 16 ], type: "INT32", data: [ 115, 0, 0, 0, 65, 240, 255, 255, 71, 231, 255, 255, 240, 28, 0, 0, 245, 240, 255, 255, 255, 1, 0, 0, 209, 23, 0, 0, 252, 249, 255, 255, 138, 14, 0, 0, 244, 237, 255, 255, 184, 226, 255, 255, 17, 237, 255, 255, 70, 233, 255, 255, 241, 242, 255, 255, 177, 253, 255, 255, 226, 242, 255, 255 ] }, { name: "layer_2", shape: [ 1, 3, 3, 16 ], type: "INT8", data: [ 31, 142, 193, 180, 41, 87, 184, 117, 50, 130, 138, 103, 187, 152, 46, 31, 206, 138, 198, 129, 217, 60, 4, 241, 212, 56, 203, 127, 41, 94, 176, 129, 207, 46, 158, 124, 202, 125, 224, 90, 164, 202, 220, 184, 195, 129, 155, 50, 127, 7, 22, 106, 51, 174, 127, 61, 86, 123, 246, 101, 121, 203, 136, 36, 32, 212, 23, 183, 62, 162, 233, 129, 47, 189, 151, 25, 169, 147, 112, 65, 160, 101, 88, 27, 144, 233, 94, 122, 8, 250, 117, 203, 221, 107, 129, 239, 60, 127, 127, 40, 202, 231, 59, 64, 213, 25, 27, 14, 127, 116, 202, 38, 58, 238, 84, 0, 127, 52, 232, 227, 127, 127, 21, 36, 167, 8, 86, 228, 3, 58, 47, 5, 83, 127, 251, 29, 180, 104, 127, 171, 175, 138, 8, 211 ] }, { name: "layer_3", shape: [ 1, 32, 32, 8 ], type: "INT8", data: [ ] }, { name: "layer_4", shape: [ 1, 32, 32, 8 ], type: "INT8", data: [ ] }, { name: "layer_5", shape: [ 3, 3, 16, 1 ], type: "INT8", data: [ ] }, { name: "layer_6", shape: [ 3, 3, 8, 2 ], type: "INT8", data: [ ] }, { name: "layer_7", shape: [ 1, 28, 28, 16 ], type: "INT32", data: [ ] }, { name: "layer_8", shape: [ 1, 28, 28, 16 ], type: "INT8", data: [ ] }, { name: "layer_9", shape: [ 1, 28, 28, 16 ], type: "INT8", data: [ ] } ], inputs: [ "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } ] }