2346 lines
63 KiB
JSON
2346 lines
63 KiB
JSON
{
|
|
"activations": {
|
|
"heap_overlay_pool": {
|
|
"activation_alignment": 4,
|
|
"buffer_data_size": 0,
|
|
"buffer_offsets": [
|
|
{
|
|
"buffer_name": "serving_default_input0_output_array",
|
|
"offset": 6604,
|
|
"size": 1040
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_4_output_array",
|
|
"offset": 7680,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_6_output_array",
|
|
"offset": 3520,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_7_output_array",
|
|
"offset": 2688,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "nl_7_nl_output_array",
|
|
"offset": 2688,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_8_output_array",
|
|
"offset": 832,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_9_output_array",
|
|
"offset": 0,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "eltwise_10_output_array",
|
|
"offset": 7680,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "nl_10_nl_output_array",
|
|
"offset": 0,
|
|
"size": 4160
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_15_output_array",
|
|
"offset": 4224,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_11_output_array",
|
|
"offset": 6912,
|
|
"size": 1344
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_12_output_array",
|
|
"offset": 64,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "nl_12_nl_output_array",
|
|
"offset": 6912,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_13_output_array",
|
|
"offset": 0,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_14_output_array",
|
|
"offset": 6912,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "eltwise_16_output_array",
|
|
"offset": 0,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "nl_16_nl_output_array",
|
|
"offset": 2688,
|
|
"size": 2688
|
|
},
|
|
{
|
|
"buffer_name": "pool_17_output_array",
|
|
"offset": 0,
|
|
"size": 128
|
|
},
|
|
{
|
|
"buffer_name": "gemm_18_output_array",
|
|
"offset": 128,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "nl_18_nl_output_array",
|
|
"offset": 0,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "gemm_19_output_array",
|
|
"offset": 64,
|
|
"size": 8
|
|
},
|
|
{
|
|
"buffer_name": "nl_20_output_array",
|
|
"offset": 0,
|
|
"size": 8
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_4_scratch0_array",
|
|
"offset": 7644,
|
|
"size": 36
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_4_scratch1_array",
|
|
"offset": 3276,
|
|
"size": 3328
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_7_scratch0_array",
|
|
"offset": 11840,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_9_scratch0_array",
|
|
"offset": 11840,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_15_scratch0_array",
|
|
"offset": 4160,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_12_scratch0_array",
|
|
"offset": 0,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_14_scratch0_array",
|
|
"offset": 2688,
|
|
"size": 128
|
|
}
|
|
],
|
|
"data_alignment": 4,
|
|
"pool_id": 0,
|
|
"pool_size": -1,
|
|
"used_size": 11904
|
|
}
|
|
},
|
|
"activations_alignment": 4,
|
|
"arguments": "generate --target stm32f4 --name model -m D:/Job_Work/Code/Z_Python/myEnv/model2.tflite --compression high --verbosity 1 -O ram --workspace C:/Users/admin/AppData/Local/Temp/mxAI_workspace7271294798310013877290066913389571 --output C:/Users/admin/.stm32cubemx/model_output",
|
|
"c_activations_count": 1,
|
|
"c_arrays": [
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 0,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 1344,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 336,
|
|
"name": "conv2d_11_output_array",
|
|
"offset": 6912,
|
|
"scale": [],
|
|
"size": 336,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_11_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
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": 6208,
|
|
"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": 128,
|
|
"c_type": "const float",
|
|
"format": "float",
|
|
"is_const": true,
|
|
"mem_pool": "weights",
|
|
"n_items": 32,
|
|
"name": "conv2d_12_bias_array",
|
|
"offset": 8832,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_12_bias",
|
|
"shape": [
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 3,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "conv2d_12_output_array",
|
|
"offset": 64,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_12_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"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": 0,
|
|
"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": 2048,
|
|
"c_type": "const float",
|
|
"format": "float",
|
|
"is_const": true,
|
|
"mem_pool": "weights",
|
|
"n_items": 512,
|
|
"name": "conv2d_12_weights_array",
|
|
"offset": 6784,
|
|
"scale": [],
|
|
"size": 512,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_12_weights",
|
|
"shape": [
|
|
32,
|
|
1,
|
|
1,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 6,
|
|
"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_13_bias_array",
|
|
"offset": 10112,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_13_bias",
|
|
"shape": [
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 7,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "conv2d_13_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_13_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 8,
|
|
"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_13_weights_array",
|
|
"offset": 8960,
|
|
"scale": [],
|
|
"size": 288,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_13_weights",
|
|
"shape": [
|
|
32,
|
|
3,
|
|
3,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 9,
|
|
"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_14_bias_array",
|
|
"offset": 14336,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_14_bias",
|
|
"shape": [
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 10,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "conv2d_14_output_array",
|
|
"offset": 6912,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_14_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 11,
|
|
"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_14_scratch0_array",
|
|
"offset": 2688,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_14_scratch0",
|
|
"shape": [
|
|
1,
|
|
1,
|
|
32,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 12,
|
|
"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_14_weights_array",
|
|
"offset": 10240,
|
|
"scale": [],
|
|
"size": 1024,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_14_weights",
|
|
"shape": [
|
|
32,
|
|
1,
|
|
1,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 13,
|
|
"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_15_bias_array",
|
|
"offset": 6080,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_15_bias",
|
|
"shape": [
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 14,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "conv2d_15_output_array",
|
|
"offset": 4224,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_15_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 15,
|
|
"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_15_scratch0_array",
|
|
"offset": 4160,
|
|
"scale": [],
|
|
"size": 16,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_15_scratch0",
|
|
"shape": [
|
|
1,
|
|
1,
|
|
16,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 16,
|
|
"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_15_weights_array",
|
|
"offset": 4032,
|
|
"scale": [],
|
|
"size": 512,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_15_weights",
|
|
"shape": [
|
|
32,
|
|
1,
|
|
1,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 17,
|
|
"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": 18,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "conv2d_4_output_array",
|
|
"offset": 7680,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_4_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 19,
|
|
"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": 7644,
|
|
"scale": [],
|
|
"size": 9,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_4_scratch0",
|
|
"shape": [
|
|
3,
|
|
3,
|
|
1,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 20,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 3328,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 832,
|
|
"name": "conv2d_4_scratch1_array",
|
|
"offset": 3276,
|
|
"scale": [],
|
|
"size": 832,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_4_scratch1",
|
|
"shape": [
|
|
2,
|
|
26,
|
|
16,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 21,
|
|
"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": 22,
|
|
"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": 23,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "conv2d_6_output_array",
|
|
"offset": 3520,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_6_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 24,
|
|
"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": 25,
|
|
"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": 26,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "conv2d_7_output_array",
|
|
"offset": 2688,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_7_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"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_7_scratch0_array",
|
|
"offset": 11840,
|
|
"scale": [],
|
|
"size": 16,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_7_scratch0",
|
|
"shape": [
|
|
1,
|
|
1,
|
|
16,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 28,
|
|
"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": 29,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "conv2d_8_output_array",
|
|
"offset": 832,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_8_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 30,
|
|
"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": 31,
|
|
"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": 32,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "conv2d_9_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_9_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 33,
|
|
"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": 11840,
|
|
"scale": [],
|
|
"size": 16,
|
|
"tensors": [
|
|
{
|
|
"name": "conv2d_9_scratch0",
|
|
"shape": [
|
|
1,
|
|
1,
|
|
16,
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 34,
|
|
"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": 35,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "eltwise_10_output_array",
|
|
"offset": 7680,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "eltwise_10_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 36,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "eltwise_16_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "eltwise_16_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 37,
|
|
"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": "gemm_18_bias_array",
|
|
"offset": 14784,
|
|
"scale": [],
|
|
"size": 16,
|
|
"tensors": [
|
|
{
|
|
"name": "gemm_18_bias",
|
|
"shape": [
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 38,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 64,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 16,
|
|
"name": "gemm_18_output_array",
|
|
"offset": 128,
|
|
"scale": [],
|
|
"size": 16,
|
|
"tensors": [
|
|
{
|
|
"name": "gemm_18_output",
|
|
"shape": [
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 4,
|
|
"c_id": 39,
|
|
"c_mem_pool": "weights",
|
|
"c_size_in_byte": 320,
|
|
"c_type": "const lut4_float",
|
|
"format": "lut4_float",
|
|
"is_const": true,
|
|
"mem_pool": "weights",
|
|
"n_items": 512,
|
|
"name": "gemm_18_weights_array",
|
|
"offset": 14464,
|
|
"scale": [],
|
|
"size": 512,
|
|
"tensors": [
|
|
{
|
|
"name": "gemm_18_weights",
|
|
"shape": [
|
|
16,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 40,
|
|
"c_mem_pool": "weights",
|
|
"c_size_in_byte": 8,
|
|
"c_type": "const float",
|
|
"format": "float",
|
|
"is_const": true,
|
|
"mem_pool": "weights",
|
|
"n_items": 2,
|
|
"name": "gemm_19_bias_array",
|
|
"offset": 14928,
|
|
"scale": [],
|
|
"size": 2,
|
|
"tensors": [
|
|
{
|
|
"name": "gemm_19_bias",
|
|
"shape": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 41,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 8,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 2,
|
|
"name": "gemm_19_output_array",
|
|
"offset": 64,
|
|
"scale": [],
|
|
"size": 2,
|
|
"tensors": [
|
|
{
|
|
"name": "gemm_19_output",
|
|
"shape": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 4,
|
|
"c_id": 42,
|
|
"c_mem_pool": "weights",
|
|
"c_size_in_byte": 80,
|
|
"c_type": "const lut4_float",
|
|
"format": "lut4_float",
|
|
"is_const": true,
|
|
"mem_pool": "weights",
|
|
"n_items": 32,
|
|
"name": "gemm_19_weights_array",
|
|
"offset": 14848,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "gemm_19_weights",
|
|
"shape": [
|
|
2,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": [],
|
|
"zeros": 0
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 43,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "nl_10_nl_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "nl_10_nl_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 44,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "nl_12_nl_output_array",
|
|
"offset": 6912,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "nl_12_nl_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 45,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 2688,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 672,
|
|
"name": "nl_16_nl_output_array",
|
|
"offset": 2688,
|
|
"scale": [],
|
|
"size": 672,
|
|
"tensors": [
|
|
{
|
|
"name": "nl_16_nl_output",
|
|
"shape": [
|
|
3,
|
|
7,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 46,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 64,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 16,
|
|
"name": "nl_18_nl_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 16,
|
|
"tensors": [
|
|
{
|
|
"name": "nl_18_nl_output",
|
|
"shape": [
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 47,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 8,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"io_type": "output",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 2,
|
|
"name": "nl_20_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 2,
|
|
"tensors": [
|
|
{
|
|
"name": "nl_20_output",
|
|
"shape": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 48,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 4160,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 1040,
|
|
"name": "nl_7_nl_output_array",
|
|
"offset": 2688,
|
|
"scale": [],
|
|
"size": 1040,
|
|
"tensors": [
|
|
{
|
|
"name": "nl_7_nl_output",
|
|
"shape": [
|
|
5,
|
|
13,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 49,
|
|
"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_17_output_array",
|
|
"offset": 0,
|
|
"scale": [],
|
|
"size": 32,
|
|
"tensors": [
|
|
{
|
|
"name": "pool_17_output",
|
|
"shape": [
|
|
1,
|
|
1,
|
|
32
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
},
|
|
{
|
|
"c_bits": 32,
|
|
"c_id": 50,
|
|
"c_mem_pool": "**default**",
|
|
"c_size_in_byte": 1040,
|
|
"c_type": "float",
|
|
"format": "float",
|
|
"io_type": "input",
|
|
"is_const": false,
|
|
"mem_pool": "activations",
|
|
"n_items": 260,
|
|
"name": "serving_default_input0_output_array",
|
|
"offset": 6604,
|
|
"scale": [],
|
|
"size": 260,
|
|
"tensors": [
|
|
{
|
|
"name": "serving_default_input0_output",
|
|
"shape": [
|
|
260
|
|
]
|
|
}
|
|
],
|
|
"zeropoint": []
|
|
}
|
|
],
|
|
"c_arrays_n": 51,
|
|
"c_layers": [
|
|
{
|
|
"c_forward": [
|
|
"forward_conv2d_if32of32wf32_nl_pool"
|
|
],
|
|
"c_id": 0,
|
|
"is_wrapped": "",
|
|
"layer_type": "Conv2D",
|
|
"m_id": 5,
|
|
"macc": 45776,
|
|
"name": "conv2d_4",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 45776
|
|
},
|
|
"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": 9376,
|
|
"name": "conv2d_6",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 9376
|
|
},
|
|
"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": 16656,
|
|
"name": "conv2d_7",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 16656
|
|
},
|
|
"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": 1040,
|
|
"name": "nl_7_nl",
|
|
"op_by_type": {
|
|
"op_f32_f32": 1040
|
|
},
|
|
"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": 9376,
|
|
"name": "conv2d_8",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 9376
|
|
},
|
|
"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": 16656,
|
|
"name": "conv2d_9",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 16656
|
|
},
|
|
"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": 1040,
|
|
"name": "eltwise_10",
|
|
"op_by_type": {
|
|
"op_f32_f32": 1040
|
|
},
|
|
"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": 1040,
|
|
"name": "nl_10_nl",
|
|
"op_by_type": {
|
|
"op_f32_f32": 1040
|
|
},
|
|
"rom": 0,
|
|
"tensors": {
|
|
"inputs": [
|
|
"eltwise_10_output"
|
|
],
|
|
"outputs": [
|
|
"nl_10_nl_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": []
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_conv2d_if32of32wf32"
|
|
],
|
|
"c_id": 8,
|
|
"is_wrapped": "",
|
|
"layer_type": "Conv2D",
|
|
"m_id": 15,
|
|
"macc": 10784,
|
|
"name": "conv2d_15",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 10784
|
|
},
|
|
"rom": 2176,
|
|
"tensors": {
|
|
"inputs": [
|
|
"nl_10_nl_output"
|
|
],
|
|
"outputs": [
|
|
"conv2d_15_output"
|
|
],
|
|
"scratchs": [
|
|
"conv2d_15_scratch0"
|
|
],
|
|
"weights": [
|
|
"conv2d_15_weights",
|
|
"conv2d_15_bias"
|
|
]
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
544,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_dw_if32of32wf32"
|
|
],
|
|
"c_id": 9,
|
|
"is_wrapped": "",
|
|
"layer_type": "Conv2D",
|
|
"m_id": 11,
|
|
"macc": 3040,
|
|
"name": "conv2d_11",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 3040
|
|
},
|
|
"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": 10,
|
|
"is_wrapped": "",
|
|
"layer_type": "Conv2D",
|
|
"m_id": 12,
|
|
"macc": 10784,
|
|
"name": "conv2d_12",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 10784
|
|
},
|
|
"rom": 2176,
|
|
"tensors": {
|
|
"inputs": [
|
|
"conv2d_11_output"
|
|
],
|
|
"outputs": [
|
|
"conv2d_12_output"
|
|
],
|
|
"scratchs": [
|
|
"conv2d_12_scratch0"
|
|
],
|
|
"weights": [
|
|
"conv2d_12_weights",
|
|
"conv2d_12_bias"
|
|
]
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
544,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_relu"
|
|
],
|
|
"c_id": 11,
|
|
"is_wrapped": "",
|
|
"layer_type": "Nonlinearity",
|
|
"m_id": 12,
|
|
"macc": 672,
|
|
"name": "nl_12_nl",
|
|
"op_by_type": {
|
|
"op_f32_f32": 672
|
|
},
|
|
"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": 12,
|
|
"is_wrapped": "",
|
|
"layer_type": "Conv2D",
|
|
"m_id": 13,
|
|
"macc": 6080,
|
|
"name": "conv2d_13",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 6080
|
|
},
|
|
"rom": 1280,
|
|
"tensors": {
|
|
"inputs": [
|
|
"nl_12_nl_output"
|
|
],
|
|
"outputs": [
|
|
"conv2d_13_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": [
|
|
"conv2d_13_weights",
|
|
"conv2d_13_bias"
|
|
]
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
320,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_conv2d_if32of32wf32"
|
|
],
|
|
"c_id": 13,
|
|
"is_wrapped": "",
|
|
"layer_type": "Conv2D",
|
|
"m_id": 14,
|
|
"macc": 21536,
|
|
"name": "conv2d_14",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 21536
|
|
},
|
|
"rom": 4224,
|
|
"tensors": {
|
|
"inputs": [
|
|
"conv2d_13_output"
|
|
],
|
|
"outputs": [
|
|
"conv2d_14_output"
|
|
],
|
|
"scratchs": [
|
|
"conv2d_14_scratch0"
|
|
],
|
|
"weights": [
|
|
"conv2d_14_weights",
|
|
"conv2d_14_bias"
|
|
]
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1056,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_eltwise"
|
|
],
|
|
"c_id": 14,
|
|
"is_wrapped": "",
|
|
"layer_type": "Eltwise/add",
|
|
"m_id": 16,
|
|
"macc": 672,
|
|
"name": "eltwise_16",
|
|
"op_by_type": {
|
|
"op_f32_f32": 672
|
|
},
|
|
"rom": 0,
|
|
"tensors": {
|
|
"inputs": [
|
|
"conv2d_15_output",
|
|
"conv2d_14_output"
|
|
],
|
|
"outputs": [
|
|
"eltwise_16_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": []
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_relu"
|
|
],
|
|
"c_id": 15,
|
|
"is_wrapped": "",
|
|
"layer_type": "Nonlinearity",
|
|
"m_id": 16,
|
|
"macc": 672,
|
|
"name": "nl_16_nl",
|
|
"op_by_type": {
|
|
"op_f32_f32": 672
|
|
},
|
|
"rom": 0,
|
|
"tensors": {
|
|
"inputs": [
|
|
"eltwise_16_output"
|
|
],
|
|
"outputs": [
|
|
"nl_16_nl_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": []
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_ap"
|
|
],
|
|
"c_id": 16,
|
|
"is_wrapped": "",
|
|
"layer_type": "Pool",
|
|
"m_id": 17,
|
|
"macc": 672,
|
|
"name": "pool_17",
|
|
"op_by_type": {
|
|
"smul_f32_f32": 672
|
|
},
|
|
"rom": 0,
|
|
"tensors": {
|
|
"inputs": [
|
|
"nl_16_nl_output"
|
|
],
|
|
"outputs": [
|
|
"pool_17_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": []
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_dense"
|
|
],
|
|
"c_id": 17,
|
|
"is_wrapped": "",
|
|
"layer_type": "Dense",
|
|
"m_id": 18,
|
|
"macc": 528,
|
|
"name": "gemm_18",
|
|
"op_by_type": {
|
|
"smul_f32_f4": 528
|
|
},
|
|
"rom": 384,
|
|
"tensors": {
|
|
"inputs": [
|
|
"pool_17_output"
|
|
],
|
|
"outputs": [
|
|
"gemm_18_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": [
|
|
"gemm_18_weights",
|
|
"gemm_18_bias"
|
|
]
|
|
},
|
|
"weight_sparsity": [
|
|
null,
|
|
528,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_relu"
|
|
],
|
|
"c_id": 18,
|
|
"is_wrapped": "",
|
|
"layer_type": "Nonlinearity",
|
|
"m_id": 18,
|
|
"macc": 16,
|
|
"name": "nl_18_nl",
|
|
"op_by_type": {
|
|
"op_f32_f32": 16
|
|
},
|
|
"rom": 0,
|
|
"tensors": {
|
|
"inputs": [
|
|
"gemm_18_output"
|
|
],
|
|
"outputs": [
|
|
"nl_18_nl_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": []
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_dense"
|
|
],
|
|
"c_id": 19,
|
|
"is_wrapped": "",
|
|
"layer_type": "Dense",
|
|
"m_id": 19,
|
|
"macc": 34,
|
|
"name": "gemm_19",
|
|
"op_by_type": {
|
|
"smul_f32_f4": 34
|
|
},
|
|
"rom": 88,
|
|
"tensors": {
|
|
"inputs": [
|
|
"nl_18_nl_output"
|
|
],
|
|
"outputs": [
|
|
"gemm_19_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": [
|
|
"gemm_19_weights",
|
|
"gemm_19_bias"
|
|
]
|
|
},
|
|
"weight_sparsity": [
|
|
null,
|
|
34,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"c_forward": [
|
|
"forward_sm"
|
|
],
|
|
"c_id": 20,
|
|
"is_wrapped": "",
|
|
"layer_type": "Nonlinearity",
|
|
"m_id": 20,
|
|
"macc": 30,
|
|
"name": "nl_20",
|
|
"op_by_type": {
|
|
"op_f32_f32": 30
|
|
},
|
|
"rom": 0,
|
|
"tensors": {
|
|
"inputs": [
|
|
"gemm_19_output"
|
|
],
|
|
"outputs": [
|
|
"nl_20_output"
|
|
],
|
|
"scratchs": [],
|
|
"weights": []
|
|
},
|
|
"weight_sparsity": [
|
|
0.0,
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"c_name": "model",
|
|
"c_nodes_n": 21,
|
|
"c_weights_count": 1,
|
|
"c_weights_header": 0,
|
|
"compilation_options": {
|
|
"compression": "high",
|
|
"optimization": "ram",
|
|
"options": [
|
|
"allocate-inputs",
|
|
"allocate-outputs"
|
|
]
|
|
},
|
|
"data_alignment": 4,
|
|
"date_time": "2025-05-29T10:15:11+0800",
|
|
"inputs": [
|
|
"serving_default_input0_output"
|
|
],
|
|
"macc": 156480,
|
|
"memory_footprint": {
|
|
"activations": 11904,
|
|
"io": [
|
|
0,
|
|
0
|
|
],
|
|
"kernel_flash": 24958,
|
|
"kernel_ram": 7100,
|
|
"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": 14936
|
|
},
|
|
"memory_pools": [],
|
|
"model_fmt": "float",
|
|
"model_name": "model2",
|
|
"model_signature": "0x02dd23f831c7bbf9c5b10eba7342e3d2",
|
|
"outputs": [
|
|
"nl_20_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": 14936,
|
|
"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_15_weights_array",
|
|
"offset": 4032,
|
|
"size": 2048
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_15_bias_array",
|
|
"offset": 6080,
|
|
"size": 128
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_11_weights_array",
|
|
"offset": 6208,
|
|
"size": 576
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_12_weights_array",
|
|
"offset": 6784,
|
|
"size": 2048
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_12_bias_array",
|
|
"offset": 8832,
|
|
"size": 128
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_13_weights_array",
|
|
"offset": 8960,
|
|
"size": 1152
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_13_bias_array",
|
|
"offset": 10112,
|
|
"size": 128
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_14_weights_array",
|
|
"offset": 10240,
|
|
"size": 4096
|
|
},
|
|
{
|
|
"buffer_name": "conv2d_14_bias_array",
|
|
"offset": 14336,
|
|
"size": 128
|
|
},
|
|
{
|
|
"buffer_name": "gemm_18_weights_array",
|
|
"offset": 14464,
|
|
"size": 320
|
|
},
|
|
{
|
|
"buffer_name": "gemm_18_bias_array",
|
|
"offset": 14784,
|
|
"size": 64
|
|
},
|
|
{
|
|
"buffer_name": "gemm_19_weights_array",
|
|
"offset": 14848,
|
|
"size": 80
|
|
},
|
|
{
|
|
"buffer_name": "gemm_19_bias_array",
|
|
"offset": 14928,
|
|
"size": 8
|
|
}
|
|
],
|
|
"pool_size": -1,
|
|
"used_size": 14936
|
|
}
|
|
}
|
|
} |