XM-01/XM-01_CAN/.ai/network_model.tflite_c_graph.json
2025-05-22 15:20:22 +08:00

3746 lines
101 KiB
JSON

{
"activations": {
"heap_overlay_pool": {
"activation_alignment": 4,
"buffer_data_size": 0,
"buffer_offsets": [
{
"buffer_name": "serving_default_input0_output_array",
"offset": 16540,
"size": 4096
},
{
"buffer_name": "conv2d_4_output_array",
"offset": 20672,
"size": 16384
},
{
"buffer_name": "conv2d_6_output_array",
"offset": 4288,
"size": 16384
},
{
"buffer_name": "conv2d_7_output_array",
"offset": 3264,
"size": 16384
},
{
"buffer_name": "nl_7_nl_output_array",
"offset": 3264,
"size": 16384
},
{
"buffer_name": "conv2d_8_output_array",
"offset": 1024,
"size": 16384
},
{
"buffer_name": "conv2d_9_output_array",
"offset": 0,
"size": 16384
},
{
"buffer_name": "eltwise_10_output_array",
"offset": 20672,
"size": 16384
},
{
"buffer_name": "nl_10_nl_output_array",
"offset": 0,
"size": 16384
},
{
"buffer_name": "conv2d_11_output_array",
"offset": 20736,
"size": 16384
},
{
"buffer_name": "conv2d_12_output_array",
"offset": 19712,
"size": 16384
},
{
"buffer_name": "nl_12_nl_output_array",
"offset": 19712,
"size": 16384
},
{
"buffer_name": "conv2d_13_output_array",
"offset": 17472,
"size": 16384
},
{
"buffer_name": "conv2d_14_output_array",
"offset": 16448,
"size": 16384
},
{
"buffer_name": "eltwise_15_output_array",
"offset": 0,
"size": 16384
},
{
"buffer_name": "nl_15_nl_output_array",
"offset": 16384,
"size": 16384
},
{
"buffer_name": "conv2d_20_output_array",
"offset": 64,
"size": 8192
},
{
"buffer_name": "conv2d_16_output_array",
"offset": 8256,
"size": 4096
},
{
"buffer_name": "conv2d_17_output_array",
"offset": 12352,
"size": 8192
},
{
"buffer_name": "nl_17_nl_output_array",
"offset": 20544,
"size": 8192
},
{
"buffer_name": "conv2d_18_output_array",
"offset": 8256,
"size": 8192
},
{
"buffer_name": "conv2d_19_output_array",
"offset": 16576,
"size": 8192
},
{
"buffer_name": "eltwise_21_output_array",
"offset": 8256,
"size": 8192
},
{
"buffer_name": "nl_21_nl_output_array",
"offset": 0,
"size": 8192
},
{
"buffer_name": "conv2d_22_output_array",
"offset": 8192,
"size": 8192
},
{
"buffer_name": "conv2d_23_output_array",
"offset": 16512,
"size": 8192
},
{
"buffer_name": "nl_23_nl_output_array",
"offset": 8192,
"size": 8192
},
{
"buffer_name": "conv2d_24_output_array",
"offset": 16384,
"size": 8192
},
{
"buffer_name": "conv2d_25_output_array",
"offset": 24576,
"size": 8192
},
{
"buffer_name": "eltwise_26_output_array",
"offset": 8192,
"size": 8192
},
{
"buffer_name": "nl_26_nl_output_array",
"offset": 0,
"size": 8192
},
{
"buffer_name": "pool_27_output_array",
"offset": 8192,
"size": 128
},
{
"buffer_name": "gemm_28_output_array",
"offset": 0,
"size": 128
},
{
"buffer_name": "nl_28_nl_output_array",
"offset": 128,
"size": 128
},
{
"buffer_name": "gemm_29_output_array",
"offset": 0,
"size": 12
},
{
"buffer_name": "nl_30_output_array",
"offset": 12,
"size": 12
},
{
"buffer_name": "conv2d_4_scratch0_array",
"offset": 20636,
"size": 36
},
{
"buffer_name": "conv2d_4_scratch1_array",
"offset": 12444,
"size": 4096
},
{
"buffer_name": "conv2d_7_scratch0_array",
"offset": 37056,
"size": 64
},
{
"buffer_name": "conv2d_9_scratch0_array",
"offset": 37056,
"size": 64
},
{
"buffer_name": "conv2d_12_scratch0_array",
"offset": 16384,
"size": 64
},
{
"buffer_name": "conv2d_14_scratch0_array",
"offset": 16384,
"size": 64
},
{
"buffer_name": "conv2d_20_scratch0_array",
"offset": 0,
"size": 64
},
{
"buffer_name": "conv2d_17_scratch0_array",
"offset": 0,
"size": 64
},
{
"buffer_name": "conv2d_19_scratch0_array",
"offset": 16448,
"size": 128
},
{
"buffer_name": "conv2d_23_scratch0_array",
"offset": 16384,
"size": 128
},
{
"buffer_name": "conv2d_25_scratch0_array",
"offset": 8192,
"size": 128
}
],
"data_alignment": 4,
"pool_id": 0,
"pool_size": -1,
"used_size": 37120
}
},
"activations_alignment": 4,
"arguments": "analyze --target stm32f4 --name network -m D:/Job_Work/Code/Z_Python/myEnv/model.tflite --compression high --verbosity 1 --workspace C:/Users/admin/AppData/Local/Temp/mxAI_workspace10784430721550010639465800847063171 --output C:/Users/admin/.stm32cubemx/network_output",
"c_activations_count": 1,
"c_arrays": [
{
"c_bits": 32,
"c_id": 0,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_11_output_array",
"offset": 20736,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_11_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 1,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 144,
"name": "conv2d_11_weights_array",
"offset": 4032,
"scale": [],
"size": 144,
"tensors": [
{
"name": "conv2d_11_weights",
"shape": [
16,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 2,
"c_mem_pool": "weights",
"c_size_in_byte": 64,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 16,
"name": "conv2d_12_bias_array",
"offset": 5632,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_12_bias",
"shape": [
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 3,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_12_output_array",
"offset": 19712,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_12_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 4,
"c_mem_pool": "**default**",
"c_size_in_byte": 64,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 16,
"name": "conv2d_12_scratch0_array",
"offset": 16384,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_12_scratch0",
"shape": [
1,
1,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 5,
"c_mem_pool": "weights",
"c_size_in_byte": 1024,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 256,
"name": "conv2d_12_weights_array",
"offset": 4608,
"scale": [],
"size": 256,
"tensors": [
{
"name": "conv2d_12_weights",
"shape": [
16,
1,
1,
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 6,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_13_output_array",
"offset": 17472,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_13_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 7,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 144,
"name": "conv2d_13_weights_array",
"offset": 5696,
"scale": [],
"size": 144,
"tensors": [
{
"name": "conv2d_13_weights",
"shape": [
16,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 8,
"c_mem_pool": "weights",
"c_size_in_byte": 64,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 16,
"name": "conv2d_14_bias_array",
"offset": 7296,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_14_bias",
"shape": [
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 9,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_14_output_array",
"offset": 16448,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_14_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 10,
"c_mem_pool": "**default**",
"c_size_in_byte": 64,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 16,
"name": "conv2d_14_scratch0_array",
"offset": 16384,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_14_scratch0",
"shape": [
1,
1,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 11,
"c_mem_pool": "weights",
"c_size_in_byte": 1024,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 256,
"name": "conv2d_14_weights_array",
"offset": 6272,
"scale": [],
"size": 256,
"tensors": [
{
"name": "conv2d_14_weights",
"shape": [
16,
1,
1,
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 12,
"c_mem_pool": "**default**",
"c_size_in_byte": 4096,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 1024,
"name": "conv2d_16_output_array",
"offset": 8256,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "conv2d_16_output",
"shape": [
8,
8,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 13,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 144,
"name": "conv2d_16_weights_array",
"offset": 9536,
"scale": [],
"size": 144,
"tensors": [
{
"name": "conv2d_16_weights",
"shape": [
16,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 14,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "conv2d_17_bias_array",
"offset": 12160,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_17_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 15,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_17_output_array",
"offset": 12352,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_17_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 16,
"c_mem_pool": "**default**",
"c_size_in_byte": 64,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 16,
"name": "conv2d_17_scratch0_array",
"offset": 0,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_17_scratch0",
"shape": [
1,
1,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 17,
"c_mem_pool": "weights",
"c_size_in_byte": 2048,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 512,
"name": "conv2d_17_weights_array",
"offset": 10112,
"scale": [],
"size": 512,
"tensors": [
{
"name": "conv2d_17_weights",
"shape": [
32,
1,
1,
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 18,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "conv2d_18_bias_array",
"offset": 13440,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_18_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 19,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_18_output_array",
"offset": 8256,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_18_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 20,
"c_mem_pool": "weights",
"c_size_in_byte": 1152,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 288,
"name": "conv2d_18_weights_array",
"offset": 12288,
"scale": [],
"size": 288,
"tensors": [
{
"name": "conv2d_18_weights",
"shape": [
32,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 21,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "conv2d_19_bias_array",
"offset": 17664,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_19_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 22,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_19_output_array",
"offset": 16576,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_19_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 23,
"c_mem_pool": "**default**",
"c_size_in_byte": 128,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 32,
"name": "conv2d_19_scratch0_array",
"offset": 16448,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_19_scratch0",
"shape": [
1,
1,
32,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 24,
"c_mem_pool": "weights",
"c_size_in_byte": 4096,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 1024,
"name": "conv2d_19_weights_array",
"offset": 13568,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "conv2d_19_weights",
"shape": [
32,
1,
1,
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 25,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "conv2d_20_bias_array",
"offset": 9408,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_20_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 26,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_20_output_array",
"offset": 64,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_20_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 27,
"c_mem_pool": "**default**",
"c_size_in_byte": 64,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 16,
"name": "conv2d_20_scratch0_array",
"offset": 0,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_20_scratch0",
"shape": [
1,
1,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 28,
"c_mem_pool": "weights",
"c_size_in_byte": 2048,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 512,
"name": "conv2d_20_weights_array",
"offset": 7360,
"scale": [],
"size": 512,
"tensors": [
{
"name": "conv2d_20_weights",
"shape": [
32,
1,
1,
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 29,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_22_output_array",
"offset": 8192,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_22_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 30,
"c_mem_pool": "weights",
"c_size_in_byte": 1152,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 288,
"name": "conv2d_22_weights_array",
"offset": 17792,
"scale": [],
"size": 288,
"tensors": [
{
"name": "conv2d_22_weights",
"shape": [
32,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 31,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "conv2d_23_bias_array",
"offset": 23040,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_23_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 32,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_23_output_array",
"offset": 16512,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_23_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 33,
"c_mem_pool": "**default**",
"c_size_in_byte": 128,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 32,
"name": "conv2d_23_scratch0_array",
"offset": 16384,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_23_scratch0",
"shape": [
1,
1,
32,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 34,
"c_mem_pool": "weights",
"c_size_in_byte": 4096,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 1024,
"name": "conv2d_23_weights_array",
"offset": 18944,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "conv2d_23_weights",
"shape": [
32,
1,
1,
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 35,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_24_output_array",
"offset": 16384,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_24_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 36,
"c_mem_pool": "weights",
"c_size_in_byte": 1152,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 288,
"name": "conv2d_24_weights_array",
"offset": 23168,
"scale": [],
"size": 288,
"tensors": [
{
"name": "conv2d_24_weights",
"shape": [
32,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 37,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "conv2d_25_bias_array",
"offset": 28416,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_25_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 38,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "conv2d_25_output_array",
"offset": 24576,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "conv2d_25_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 39,
"c_mem_pool": "**default**",
"c_size_in_byte": 128,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 32,
"name": "conv2d_25_scratch0_array",
"offset": 8192,
"scale": [],
"size": 32,
"tensors": [
{
"name": "conv2d_25_scratch0",
"shape": [
1,
1,
32,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 40,
"c_mem_pool": "weights",
"c_size_in_byte": 4096,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 1024,
"name": "conv2d_25_weights_array",
"offset": 24320,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "conv2d_25_weights",
"shape": [
32,
1,
1,
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 41,
"c_mem_pool": "weights",
"c_size_in_byte": 64,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 16,
"name": "conv2d_4_bias_array",
"offset": 576,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_4_bias",
"shape": [
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 42,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_4_output_array",
"offset": 20672,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_4_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 43,
"c_mem_pool": "**default**",
"c_size_in_byte": 36,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 9,
"name": "conv2d_4_scratch0_array",
"offset": 20636,
"scale": [],
"size": 9,
"tensors": [
{
"name": "conv2d_4_scratch0",
"shape": [
3,
3,
1,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 44,
"c_mem_pool": "**default**",
"c_size_in_byte": 4096,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 1024,
"name": "conv2d_4_scratch1_array",
"offset": 12444,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "conv2d_4_scratch1",
"shape": [
2,
32,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 45,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 144,
"name": "conv2d_4_weights_array",
"offset": 0,
"scale": [],
"size": 144,
"tensors": [
{
"name": "conv2d_4_weights",
"shape": [
16,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 46,
"c_mem_pool": "weights",
"c_size_in_byte": 64,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 16,
"name": "conv2d_6_bias_array",
"offset": 1216,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_6_bias",
"shape": [
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 47,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_6_output_array",
"offset": 4288,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_6_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 48,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 144,
"name": "conv2d_6_weights_array",
"offset": 640,
"scale": [],
"size": 144,
"tensors": [
{
"name": "conv2d_6_weights",
"shape": [
16,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 49,
"c_mem_pool": "weights",
"c_size_in_byte": 64,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 16,
"name": "conv2d_7_bias_array",
"offset": 2304,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_7_bias",
"shape": [
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 50,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_7_output_array",
"offset": 3264,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_7_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 51,
"c_mem_pool": "**default**",
"c_size_in_byte": 64,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 16,
"name": "conv2d_7_scratch0_array",
"offset": 37056,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_7_scratch0",
"shape": [
1,
1,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 52,
"c_mem_pool": "weights",
"c_size_in_byte": 1024,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 256,
"name": "conv2d_7_weights_array",
"offset": 1280,
"scale": [],
"size": 256,
"tensors": [
{
"name": "conv2d_7_weights",
"shape": [
16,
1,
1,
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 53,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_8_output_array",
"offset": 1024,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_8_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 54,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 144,
"name": "conv2d_8_weights_array",
"offset": 2368,
"scale": [],
"size": 144,
"tensors": [
{
"name": "conv2d_8_weights",
"shape": [
16,
3,
3,
1
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 55,
"c_mem_pool": "weights",
"c_size_in_byte": 64,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 16,
"name": "conv2d_9_bias_array",
"offset": 3968,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_9_bias",
"shape": [
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 56,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "conv2d_9_output_array",
"offset": 0,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "conv2d_9_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 57,
"c_mem_pool": "**default**",
"c_size_in_byte": 64,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 16,
"name": "conv2d_9_scratch0_array",
"offset": 37056,
"scale": [],
"size": 16,
"tensors": [
{
"name": "conv2d_9_scratch0",
"shape": [
1,
1,
16,
1
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 58,
"c_mem_pool": "weights",
"c_size_in_byte": 1024,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 256,
"name": "conv2d_9_weights_array",
"offset": 2944,
"scale": [],
"size": 256,
"tensors": [
{
"name": "conv2d_9_weights",
"shape": [
16,
1,
1,
16
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 59,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "eltwise_10_output_array",
"offset": 20672,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "eltwise_10_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 60,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "eltwise_15_output_array",
"offset": 0,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "eltwise_15_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 61,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "eltwise_21_output_array",
"offset": 8256,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "eltwise_21_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 62,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "eltwise_26_output_array",
"offset": 8192,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "eltwise_26_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 63,
"c_mem_pool": "weights",
"c_size_in_byte": 128,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 32,
"name": "gemm_28_bias_array",
"offset": 29120,
"scale": [],
"size": 32,
"tensors": [
{
"name": "gemm_28_bias",
"shape": [
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 64,
"c_mem_pool": "**default**",
"c_size_in_byte": 128,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 32,
"name": "gemm_28_output_array",
"offset": 0,
"scale": [],
"size": 32,
"tensors": [
{
"name": "gemm_28_output",
"shape": [
32
]
}
],
"zeropoint": []
},
{
"c_bits": 4,
"c_id": 65,
"c_mem_pool": "weights",
"c_size_in_byte": 576,
"c_type": "const lut4_float",
"format": "lut4_float",
"is_const": true,
"mem_pool": "weights",
"n_items": 1024,
"name": "gemm_28_weights_array",
"offset": 28544,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "gemm_28_weights",
"shape": [
32,
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 66,
"c_mem_pool": "weights",
"c_size_in_byte": 12,
"c_type": "const float",
"format": "float",
"is_const": true,
"mem_pool": "weights",
"n_items": 3,
"name": "gemm_29_bias_array",
"offset": 29360,
"scale": [],
"size": 3,
"tensors": [
{
"name": "gemm_29_bias",
"shape": [
3
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 67,
"c_mem_pool": "**default**",
"c_size_in_byte": 12,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 3,
"name": "gemm_29_output_array",
"offset": 0,
"scale": [],
"size": 3,
"tensors": [
{
"name": "gemm_29_output",
"shape": [
3
]
}
],
"zeropoint": []
},
{
"c_bits": 4,
"c_id": 68,
"c_mem_pool": "weights",
"c_size_in_byte": 112,
"c_type": "const lut4_float",
"format": "lut4_float",
"is_const": true,
"mem_pool": "weights",
"n_items": 96,
"name": "gemm_29_weights_array",
"offset": 29248,
"scale": [],
"size": 96,
"tensors": [
{
"name": "gemm_29_weights",
"shape": [
3,
32
]
}
],
"zeropoint": [],
"zeros": 0
},
{
"c_bits": 32,
"c_id": 69,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "nl_10_nl_output_array",
"offset": 0,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "nl_10_nl_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 70,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "nl_12_nl_output_array",
"offset": 19712,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "nl_12_nl_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 71,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "nl_15_nl_output_array",
"offset": 16384,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "nl_15_nl_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 72,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "nl_17_nl_output_array",
"offset": 20544,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "nl_17_nl_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 73,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "nl_21_nl_output_array",
"offset": 0,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "nl_21_nl_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 74,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "nl_23_nl_output_array",
"offset": 8192,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "nl_23_nl_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 75,
"c_mem_pool": "**default**",
"c_size_in_byte": 8192,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 2048,
"name": "nl_26_nl_output_array",
"offset": 0,
"scale": [],
"size": 2048,
"tensors": [
{
"name": "nl_26_nl_output",
"shape": [
8,
8,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 76,
"c_mem_pool": "**default**",
"c_size_in_byte": 128,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 32,
"name": "nl_28_nl_output_array",
"offset": 128,
"scale": [],
"size": 32,
"tensors": [
{
"name": "nl_28_nl_output",
"shape": [
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 77,
"c_mem_pool": "**default**",
"c_size_in_byte": 12,
"c_type": "float",
"format": "float",
"io_type": "output",
"is_const": false,
"mem_pool": "activations",
"n_items": 3,
"name": "nl_30_output_array",
"offset": 12,
"scale": [],
"size": 3,
"tensors": [
{
"name": "nl_30_output",
"shape": [
3
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 78,
"c_mem_pool": "**default**",
"c_size_in_byte": 16384,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 4096,
"name": "nl_7_nl_output_array",
"offset": 3264,
"scale": [],
"size": 4096,
"tensors": [
{
"name": "nl_7_nl_output",
"shape": [
16,
16,
16
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 79,
"c_mem_pool": "**default**",
"c_size_in_byte": 128,
"c_type": "float",
"format": "float",
"is_const": false,
"mem_pool": "activations",
"n_items": 32,
"name": "pool_27_output_array",
"offset": 8192,
"scale": [],
"size": 32,
"tensors": [
{
"name": "pool_27_output",
"shape": [
1,
1,
32
]
}
],
"zeropoint": []
},
{
"c_bits": 32,
"c_id": 80,
"c_mem_pool": "**default**",
"c_size_in_byte": 4096,
"c_type": "float",
"format": "float",
"io_type": "input",
"is_const": false,
"mem_pool": "activations",
"n_items": 1024,
"name": "serving_default_input0_output_array",
"offset": 16540,
"scale": [],
"size": 1024,
"tensors": [
{
"name": "serving_default_input0_output",
"shape": [
1024
]
}
],
"zeropoint": []
}
],
"c_arrays_n": 81,
"c_layers": [
{
"c_forward": [
"forward_conv2d_if32of32wf32_nl_pool"
],
"c_id": 0,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 5,
"macc": 180240,
"name": "conv2d_4",
"op_by_type": {
"smul_f32_f32": 180240
},
"rom": 640,
"tensors": {
"inputs": [
"serving_default_input0_output"
],
"outputs": [
"conv2d_4_output"
],
"scratchs": [
"conv2d_4_scratch0",
"conv2d_4_scratch1"
],
"weights": [
"conv2d_4_weights",
"conv2d_4_bias"
]
},
"weight_sparsity": [
0.0,
160,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 1,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 6,
"macc": 36880,
"name": "conv2d_6",
"op_by_type": {
"smul_f32_f32": 36880
},
"rom": 640,
"tensors": {
"inputs": [
"conv2d_4_output"
],
"outputs": [
"conv2d_6_output"
],
"scratchs": [],
"weights": [
"conv2d_6_weights",
"conv2d_6_bias"
]
},
"weight_sparsity": [
0.0,
160,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 2,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 7,
"macc": 65552,
"name": "conv2d_7",
"op_by_type": {
"smul_f32_f32": 65552
},
"rom": 1088,
"tensors": {
"inputs": [
"conv2d_6_output"
],
"outputs": [
"conv2d_7_output"
],
"scratchs": [
"conv2d_7_scratch0"
],
"weights": [
"conv2d_7_weights",
"conv2d_7_bias"
]
},
"weight_sparsity": [
0.0,
272,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 3,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 7,
"macc": 4096,
"name": "nl_7_nl",
"op_by_type": {
"op_f32_f32": 4096
},
"rom": 0,
"tensors": {
"inputs": [
"conv2d_7_output"
],
"outputs": [
"nl_7_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 4,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 8,
"macc": 36880,
"name": "conv2d_8",
"op_by_type": {
"smul_f32_f32": 36880
},
"rom": 640,
"tensors": {
"inputs": [
"nl_7_nl_output"
],
"outputs": [
"conv2d_8_output"
],
"scratchs": [],
"weights": [
"conv2d_8_weights",
"conv2d_6_bias"
]
},
"weight_sparsity": [
0.0,
160,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 5,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 9,
"macc": 65552,
"name": "conv2d_9",
"op_by_type": {
"smul_f32_f32": 65552
},
"rom": 1088,
"tensors": {
"inputs": [
"conv2d_8_output"
],
"outputs": [
"conv2d_9_output"
],
"scratchs": [
"conv2d_9_scratch0"
],
"weights": [
"conv2d_9_weights",
"conv2d_9_bias"
]
},
"weight_sparsity": [
0.0,
272,
0
]
},
{
"c_forward": [
"forward_eltwise"
],
"c_id": 6,
"is_wrapped": "",
"layer_type": "Eltwise/add",
"m_id": 10,
"macc": 4096,
"name": "eltwise_10",
"op_by_type": {
"op_f32_f32": 4096
},
"rom": 0,
"tensors": {
"inputs": [
"conv2d_4_output",
"conv2d_9_output"
],
"outputs": [
"eltwise_10_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 7,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 10,
"macc": 4096,
"name": "nl_10_nl",
"op_by_type": {
"op_f32_f32": 4096
},
"rom": 0,
"tensors": {
"inputs": [
"eltwise_10_output"
],
"outputs": [
"nl_10_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 8,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 11,
"macc": 36880,
"name": "conv2d_11",
"op_by_type": {
"smul_f32_f32": 36880
},
"rom": 640,
"tensors": {
"inputs": [
"nl_10_nl_output"
],
"outputs": [
"conv2d_11_output"
],
"scratchs": [],
"weights": [
"conv2d_11_weights",
"conv2d_6_bias"
]
},
"weight_sparsity": [
0.0,
160,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 9,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 12,
"macc": 65552,
"name": "conv2d_12",
"op_by_type": {
"smul_f32_f32": 65552
},
"rom": 1088,
"tensors": {
"inputs": [
"conv2d_11_output"
],
"outputs": [
"conv2d_12_output"
],
"scratchs": [
"conv2d_12_scratch0"
],
"weights": [
"conv2d_12_weights",
"conv2d_12_bias"
]
},
"weight_sparsity": [
0.0,
272,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 10,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 12,
"macc": 4096,
"name": "nl_12_nl",
"op_by_type": {
"op_f32_f32": 4096
},
"rom": 0,
"tensors": {
"inputs": [
"conv2d_12_output"
],
"outputs": [
"nl_12_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 11,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 13,
"macc": 36880,
"name": "conv2d_13",
"op_by_type": {
"smul_f32_f32": 36880
},
"rom": 640,
"tensors": {
"inputs": [
"nl_12_nl_output"
],
"outputs": [
"conv2d_13_output"
],
"scratchs": [],
"weights": [
"conv2d_13_weights",
"conv2d_6_bias"
]
},
"weight_sparsity": [
0.0,
160,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 12,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 14,
"macc": 65552,
"name": "conv2d_14",
"op_by_type": {
"smul_f32_f32": 65552
},
"rom": 1088,
"tensors": {
"inputs": [
"conv2d_13_output"
],
"outputs": [
"conv2d_14_output"
],
"scratchs": [
"conv2d_14_scratch0"
],
"weights": [
"conv2d_14_weights",
"conv2d_14_bias"
]
},
"weight_sparsity": [
0.0,
272,
0
]
},
{
"c_forward": [
"forward_eltwise"
],
"c_id": 13,
"is_wrapped": "",
"layer_type": "Eltwise/add",
"m_id": 15,
"macc": 4096,
"name": "eltwise_15",
"op_by_type": {
"op_f32_f32": 4096
},
"rom": 0,
"tensors": {
"inputs": [
"nl_10_nl_output",
"conv2d_14_output"
],
"outputs": [
"eltwise_15_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 14,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 15,
"macc": 4096,
"name": "nl_15_nl",
"op_by_type": {
"op_f32_f32": 4096
},
"rom": 0,
"tensors": {
"inputs": [
"eltwise_15_output"
],
"outputs": [
"nl_15_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 15,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 20,
"macc": 32800,
"name": "conv2d_20",
"op_by_type": {
"smul_f32_f32": 32800
},
"rom": 2176,
"tensors": {
"inputs": [
"nl_15_nl_output"
],
"outputs": [
"conv2d_20_output"
],
"scratchs": [
"conv2d_20_scratch0"
],
"weights": [
"conv2d_20_weights",
"conv2d_20_bias"
]
},
"weight_sparsity": [
0.0,
544,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 16,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 16,
"macc": 9232,
"name": "conv2d_16",
"op_by_type": {
"smul_f32_f32": 9232
},
"rom": 640,
"tensors": {
"inputs": [
"nl_15_nl_output"
],
"outputs": [
"conv2d_16_output"
],
"scratchs": [],
"weights": [
"conv2d_16_weights",
"conv2d_6_bias"
]
},
"weight_sparsity": [
0.0,
160,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 17,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 17,
"macc": 32800,
"name": "conv2d_17",
"op_by_type": {
"smul_f32_f32": 32800
},
"rom": 2176,
"tensors": {
"inputs": [
"conv2d_16_output"
],
"outputs": [
"conv2d_17_output"
],
"scratchs": [
"conv2d_17_scratch0"
],
"weights": [
"conv2d_17_weights",
"conv2d_17_bias"
]
},
"weight_sparsity": [
0.0,
544,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 18,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 17,
"macc": 2048,
"name": "nl_17_nl",
"op_by_type": {
"op_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"conv2d_17_output"
],
"outputs": [
"nl_17_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 19,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 18,
"macc": 18464,
"name": "conv2d_18",
"op_by_type": {
"smul_f32_f32": 18464
},
"rom": 1280,
"tensors": {
"inputs": [
"nl_17_nl_output"
],
"outputs": [
"conv2d_18_output"
],
"scratchs": [],
"weights": [
"conv2d_18_weights",
"conv2d_18_bias"
]
},
"weight_sparsity": [
0.0,
320,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 20,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 19,
"macc": 65568,
"name": "conv2d_19",
"op_by_type": {
"smul_f32_f32": 65568
},
"rom": 4224,
"tensors": {
"inputs": [
"conv2d_18_output"
],
"outputs": [
"conv2d_19_output"
],
"scratchs": [
"conv2d_19_scratch0"
],
"weights": [
"conv2d_19_weights",
"conv2d_19_bias"
]
},
"weight_sparsity": [
0.0,
1056,
0
]
},
{
"c_forward": [
"forward_eltwise"
],
"c_id": 21,
"is_wrapped": "",
"layer_type": "Eltwise/add",
"m_id": 21,
"macc": 2048,
"name": "eltwise_21",
"op_by_type": {
"op_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"conv2d_20_output",
"conv2d_19_output"
],
"outputs": [
"eltwise_21_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 22,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 21,
"macc": 2048,
"name": "nl_21_nl",
"op_by_type": {
"op_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"eltwise_21_output"
],
"outputs": [
"nl_21_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 23,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 22,
"macc": 18464,
"name": "conv2d_22",
"op_by_type": {
"smul_f32_f32": 18464
},
"rom": 1280,
"tensors": {
"inputs": [
"nl_21_nl_output"
],
"outputs": [
"conv2d_22_output"
],
"scratchs": [],
"weights": [
"conv2d_22_weights",
"conv2d_18_bias"
]
},
"weight_sparsity": [
0.0,
320,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 24,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 23,
"macc": 65568,
"name": "conv2d_23",
"op_by_type": {
"smul_f32_f32": 65568
},
"rom": 4224,
"tensors": {
"inputs": [
"conv2d_22_output"
],
"outputs": [
"conv2d_23_output"
],
"scratchs": [
"conv2d_23_scratch0"
],
"weights": [
"conv2d_23_weights",
"conv2d_23_bias"
]
},
"weight_sparsity": [
0.0,
1056,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 25,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 23,
"macc": 2048,
"name": "nl_23_nl",
"op_by_type": {
"op_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"conv2d_23_output"
],
"outputs": [
"nl_23_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dw_if32of32wf32"
],
"c_id": 26,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 24,
"macc": 18464,
"name": "conv2d_24",
"op_by_type": {
"smul_f32_f32": 18464
},
"rom": 1280,
"tensors": {
"inputs": [
"nl_23_nl_output"
],
"outputs": [
"conv2d_24_output"
],
"scratchs": [],
"weights": [
"conv2d_24_weights",
"conv2d_18_bias"
]
},
"weight_sparsity": [
0.0,
320,
0
]
},
{
"c_forward": [
"forward_conv2d_if32of32wf32"
],
"c_id": 27,
"is_wrapped": "",
"layer_type": "Conv2D",
"m_id": 25,
"macc": 65568,
"name": "conv2d_25",
"op_by_type": {
"smul_f32_f32": 65568
},
"rom": 4224,
"tensors": {
"inputs": [
"conv2d_24_output"
],
"outputs": [
"conv2d_25_output"
],
"scratchs": [
"conv2d_25_scratch0"
],
"weights": [
"conv2d_25_weights",
"conv2d_25_bias"
]
},
"weight_sparsity": [
0.0,
1056,
0
]
},
{
"c_forward": [
"forward_eltwise"
],
"c_id": 28,
"is_wrapped": "",
"layer_type": "Eltwise/add",
"m_id": 26,
"macc": 2048,
"name": "eltwise_26",
"op_by_type": {
"op_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"nl_21_nl_output",
"conv2d_25_output"
],
"outputs": [
"eltwise_26_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 29,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 26,
"macc": 2048,
"name": "nl_26_nl",
"op_by_type": {
"op_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"eltwise_26_output"
],
"outputs": [
"nl_26_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_ap"
],
"c_id": 30,
"is_wrapped": "",
"layer_type": "Pool",
"m_id": 27,
"macc": 2048,
"name": "pool_27",
"op_by_type": {
"smul_f32_f32": 2048
},
"rom": 0,
"tensors": {
"inputs": [
"nl_26_nl_output"
],
"outputs": [
"pool_27_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dense"
],
"c_id": 31,
"is_wrapped": "",
"layer_type": "Dense",
"m_id": 28,
"macc": 1056,
"name": "gemm_28",
"op_by_type": {
"smul_f32_f4": 1056
},
"rom": 704,
"tensors": {
"inputs": [
"pool_27_output"
],
"outputs": [
"gemm_28_output"
],
"scratchs": [],
"weights": [
"gemm_28_weights",
"gemm_28_bias"
]
},
"weight_sparsity": [
null,
1056,
0
]
},
{
"c_forward": [
"forward_relu"
],
"c_id": 32,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 28,
"macc": 32,
"name": "nl_28_nl",
"op_by_type": {
"op_f32_f32": 32
},
"rom": 0,
"tensors": {
"inputs": [
"gemm_28_output"
],
"outputs": [
"nl_28_nl_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
},
{
"c_forward": [
"forward_dense"
],
"c_id": 33,
"is_wrapped": "",
"layer_type": "Dense",
"m_id": 29,
"macc": 99,
"name": "gemm_29",
"op_by_type": {
"smul_f32_f4": 99
},
"rom": 124,
"tensors": {
"inputs": [
"nl_28_nl_output"
],
"outputs": [
"gemm_29_output"
],
"scratchs": [],
"weights": [
"gemm_29_weights",
"gemm_29_bias"
]
},
"weight_sparsity": [
null,
99,
0
]
},
{
"c_forward": [
"forward_sm"
],
"c_id": 34,
"is_wrapped": "",
"layer_type": "Nonlinearity",
"m_id": 30,
"macc": 45,
"name": "nl_30",
"op_by_type": {
"op_f32_f32": 45
},
"rom": 0,
"tensors": {
"inputs": [
"gemm_29_output"
],
"outputs": [
"nl_30_output"
],
"scratchs": [],
"weights": []
},
"weight_sparsity": [
0.0,
1,
0
]
}
],
"c_name": "network",
"c_nodes_n": 35,
"c_weights_count": 1,
"c_weights_header": 0,
"compilation_options": {
"compression": "high",
"optimization": "balanced",
"options": [
"allocate-inputs",
"allocate-outputs"
]
},
"data_alignment": 4,
"date_time": "2025-05-17T23:38:10+0800",
"inputs": [
"serving_default_input0_output"
],
"macc": 957040,
"memory_footprint": {
"activations": 37120,
"io": [
0,
0
],
"kernel_flash": 29586,
"kernel_ram": 11236,
"series": "stm32f4",
"target": "stm32f4",
"toolchain": "arm-none-eabi-gcc (GNU Tools for STM32 13.3.rel1.20240926-1715) 13.3.1 20240614",
"toolchain_flash": 638,
"toolchain_ram": 0,
"weights": 29372
},
"memory_pools": [],
"model_fmt": "float",
"model_name": "model",
"model_signature": "0x391deb77460dcfce8d55e2fc3b80314e",
"outputs": [
"nl_30_output"
],
"st_ai_version": "2.0.0-20049",
"tool_version": "2.0.0-20049",
"type": "tflite",
"version": "1.2",
"weights": {
"weights_array": {
"buffer_data_size": 29372,
"buffer_offsets": [
{
"buffer_name": "conv2d_4_weights_array",
"offset": 0,
"size": 576
},
{
"buffer_name": "conv2d_4_bias_array",
"offset": 576,
"size": 64
},
{
"buffer_name": "conv2d_6_weights_array",
"offset": 640,
"size": 576
},
{
"buffer_name": "conv2d_6_bias_array",
"offset": 1216,
"size": 64
},
{
"buffer_name": "conv2d_7_weights_array",
"offset": 1280,
"size": 1024
},
{
"buffer_name": "conv2d_7_bias_array",
"offset": 2304,
"size": 64
},
{
"buffer_name": "conv2d_8_weights_array",
"offset": 2368,
"size": 576
},
{
"buffer_name": "conv2d_9_weights_array",
"offset": 2944,
"size": 1024
},
{
"buffer_name": "conv2d_9_bias_array",
"offset": 3968,
"size": 64
},
{
"buffer_name": "conv2d_11_weights_array",
"offset": 4032,
"size": 576
},
{
"buffer_name": "conv2d_12_weights_array",
"offset": 4608,
"size": 1024
},
{
"buffer_name": "conv2d_12_bias_array",
"offset": 5632,
"size": 64
},
{
"buffer_name": "conv2d_13_weights_array",
"offset": 5696,
"size": 576
},
{
"buffer_name": "conv2d_14_weights_array",
"offset": 6272,
"size": 1024
},
{
"buffer_name": "conv2d_14_bias_array",
"offset": 7296,
"size": 64
},
{
"buffer_name": "conv2d_20_weights_array",
"offset": 7360,
"size": 2048
},
{
"buffer_name": "conv2d_20_bias_array",
"offset": 9408,
"size": 128
},
{
"buffer_name": "conv2d_16_weights_array",
"offset": 9536,
"size": 576
},
{
"buffer_name": "conv2d_17_weights_array",
"offset": 10112,
"size": 2048
},
{
"buffer_name": "conv2d_17_bias_array",
"offset": 12160,
"size": 128
},
{
"buffer_name": "conv2d_18_weights_array",
"offset": 12288,
"size": 1152
},
{
"buffer_name": "conv2d_18_bias_array",
"offset": 13440,
"size": 128
},
{
"buffer_name": "conv2d_19_weights_array",
"offset": 13568,
"size": 4096
},
{
"buffer_name": "conv2d_19_bias_array",
"offset": 17664,
"size": 128
},
{
"buffer_name": "conv2d_22_weights_array",
"offset": 17792,
"size": 1152
},
{
"buffer_name": "conv2d_23_weights_array",
"offset": 18944,
"size": 4096
},
{
"buffer_name": "conv2d_23_bias_array",
"offset": 23040,
"size": 128
},
{
"buffer_name": "conv2d_24_weights_array",
"offset": 23168,
"size": 1152
},
{
"buffer_name": "conv2d_25_weights_array",
"offset": 24320,
"size": 4096
},
{
"buffer_name": "conv2d_25_bias_array",
"offset": 28416,
"size": 128
},
{
"buffer_name": "gemm_28_weights_array",
"offset": 28544,
"size": 576
},
{
"buffer_name": "gemm_28_bias_array",
"offset": 29120,
"size": 128
},
{
"buffer_name": "gemm_29_weights_array",
"offset": 29248,
"size": 112
},
{
"buffer_name": "gemm_29_bias_array",
"offset": 29360,
"size": 12
}
],
"pool_size": -1,
"used_size": 29372
}
}
}