811 lines
20 KiB
JSON
811 lines
20 KiB
JSON
{
|
|
"_allocate_inputs": 4,
|
|
"_allocate_outputs": 4,
|
|
"cli_parameters": "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",
|
|
"cli_version": {
|
|
"extra": "20049",
|
|
"major": 2,
|
|
"micro": 0,
|
|
"minor": 0
|
|
},
|
|
"cli_version_str": "2.0.0-20049",
|
|
"code_size": 0,
|
|
"compression": [],
|
|
"date_time": "2025-05-29T10:15:11+0800",
|
|
"error": 0,
|
|
"error_str": [],
|
|
"exec_cmd": "generate",
|
|
"exec_duration": 0.0,
|
|
"hash": "0x02dd23f831c7bbf9c5b10eba7342e3d2",
|
|
"inputs": [
|
|
"serving_default_input0"
|
|
],
|
|
"layers": [
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 1040,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
260
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 0,
|
|
"inputs": [],
|
|
"name": "serving_default_input0",
|
|
"original": "",
|
|
"type": "Input"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_size": 0
|
|
},
|
|
"id": 3,
|
|
"inputs": [
|
|
"serving_default_input0"
|
|
],
|
|
"name": "reshape_3",
|
|
"original": "RESHAPE",
|
|
"type": "Reshape"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 37456,
|
|
"n_params": 160,
|
|
"psize": 640,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 4,
|
|
"inputs": [
|
|
"reshape_3"
|
|
],
|
|
"name": "conv2d_4",
|
|
"original": "CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 4160,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_size": 0
|
|
},
|
|
"id": 4,
|
|
"inputs": [
|
|
"conv2d_4"
|
|
],
|
|
"name": "nl_4_nl",
|
|
"original": "CONV_2D",
|
|
"type": "Nonlinearity"
|
|
},
|
|
{
|
|
"c_id": [
|
|
0
|
|
],
|
|
"extras": {
|
|
"n_macc": 4160,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_size": 640
|
|
},
|
|
"id": 5,
|
|
"inputs": [
|
|
"nl_4_nl"
|
|
],
|
|
"name": "pool_5",
|
|
"original": "AVERAGE_POOL_2D",
|
|
"type": "Pool"
|
|
},
|
|
{
|
|
"c_id": [
|
|
1
|
|
],
|
|
"extras": {
|
|
"n_macc": 9376,
|
|
"n_params": 160,
|
|
"psize": 640,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 640
|
|
},
|
|
"id": 6,
|
|
"inputs": [
|
|
"pool_5"
|
|
],
|
|
"name": "conv2d_6",
|
|
"original": "DEPTHWISE_CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
2,
|
|
3
|
|
],
|
|
"extras": {
|
|
"n_macc": 16656,
|
|
"n_params": 272,
|
|
"psize": 1088,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 1088
|
|
},
|
|
"id": 7,
|
|
"inputs": [
|
|
"conv2d_6"
|
|
],
|
|
"name": "conv2d_7",
|
|
"original": "CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 1040,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 7,
|
|
"inputs": [
|
|
"conv2d_7"
|
|
],
|
|
"name": "nl_7_nl",
|
|
"original": "CONV_2D",
|
|
"type": "Nonlinearity"
|
|
},
|
|
{
|
|
"c_id": [
|
|
4
|
|
],
|
|
"extras": {
|
|
"n_macc": 9376,
|
|
"n_params": 160,
|
|
"psize": 640,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 640
|
|
},
|
|
"id": 8,
|
|
"inputs": [
|
|
"nl_7_nl"
|
|
],
|
|
"name": "conv2d_8",
|
|
"original": "DEPTHWISE_CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
5
|
|
],
|
|
"extras": {
|
|
"n_macc": 16656,
|
|
"n_params": 272,
|
|
"psize": 1088,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 1088
|
|
},
|
|
"id": 9,
|
|
"inputs": [
|
|
"conv2d_8"
|
|
],
|
|
"name": "conv2d_9",
|
|
"original": "CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
6,
|
|
7
|
|
],
|
|
"extras": {
|
|
"n_macc": 1040,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 10,
|
|
"inputs": [
|
|
"pool_5",
|
|
"conv2d_9"
|
|
],
|
|
"name": "eltwise_10",
|
|
"original": "ADD",
|
|
"type": "Eltwise"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 1040,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 4160,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
13,
|
|
16,
|
|
5
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 10,
|
|
"inputs": [
|
|
"eltwise_10"
|
|
],
|
|
"name": "nl_10_nl",
|
|
"original": "ADD",
|
|
"type": "Nonlinearity"
|
|
},
|
|
{
|
|
"c_id": [
|
|
9
|
|
],
|
|
"extras": {
|
|
"n_macc": 3040,
|
|
"n_params": 160,
|
|
"psize": 640,
|
|
"rom_output": {
|
|
"c_size": 1344,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
16,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 640
|
|
},
|
|
"id": 11,
|
|
"inputs": [
|
|
"nl_10_nl"
|
|
],
|
|
"name": "conv2d_11",
|
|
"original": "DEPTHWISE_CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
10,
|
|
11
|
|
],
|
|
"extras": {
|
|
"n_macc": 10784,
|
|
"n_params": 544,
|
|
"psize": 2176,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 2176
|
|
},
|
|
"id": 12,
|
|
"inputs": [
|
|
"conv2d_11"
|
|
],
|
|
"name": "conv2d_12",
|
|
"original": "CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 672,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 12,
|
|
"inputs": [
|
|
"conv2d_12"
|
|
],
|
|
"name": "nl_12_nl",
|
|
"original": "CONV_2D",
|
|
"type": "Nonlinearity"
|
|
},
|
|
{
|
|
"c_id": [
|
|
12
|
|
],
|
|
"extras": {
|
|
"n_macc": 6080,
|
|
"n_params": 320,
|
|
"psize": 1280,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 1280
|
|
},
|
|
"id": 13,
|
|
"inputs": [
|
|
"nl_12_nl"
|
|
],
|
|
"name": "conv2d_13",
|
|
"original": "DEPTHWISE_CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
13
|
|
],
|
|
"extras": {
|
|
"n_macc": 21536,
|
|
"n_params": 1056,
|
|
"psize": 4224,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 4224
|
|
},
|
|
"id": 14,
|
|
"inputs": [
|
|
"conv2d_13"
|
|
],
|
|
"name": "conv2d_14",
|
|
"original": "CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
8
|
|
],
|
|
"extras": {
|
|
"n_macc": 10784,
|
|
"n_params": 544,
|
|
"psize": 2176,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 2176
|
|
},
|
|
"id": 15,
|
|
"inputs": [
|
|
"nl_10_nl"
|
|
],
|
|
"name": "conv2d_15",
|
|
"original": "CONV_2D",
|
|
"type": "Conv2D"
|
|
},
|
|
{
|
|
"c_id": [
|
|
14,
|
|
15
|
|
],
|
|
"extras": {
|
|
"n_macc": 672,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 16,
|
|
"inputs": [
|
|
"conv2d_15",
|
|
"conv2d_14"
|
|
],
|
|
"name": "eltwise_16",
|
|
"original": "ADD",
|
|
"type": "Eltwise"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 672,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 2688,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
7,
|
|
32,
|
|
3
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 16,
|
|
"inputs": [
|
|
"eltwise_16"
|
|
],
|
|
"name": "nl_16_nl",
|
|
"original": "ADD",
|
|
"type": "Nonlinearity"
|
|
},
|
|
{
|
|
"c_id": [
|
|
16
|
|
],
|
|
"extras": {
|
|
"n_macc": 672,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 128,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
1,
|
|
32,
|
|
1
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 17,
|
|
"inputs": [
|
|
"nl_16_nl"
|
|
],
|
|
"name": "pool_17",
|
|
"original": "MEAN",
|
|
"type": "Pool"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_size": 0
|
|
},
|
|
"id": 17,
|
|
"inputs": [
|
|
"pool_17"
|
|
],
|
|
"name": "reshape_17_reshape",
|
|
"original": "MEAN",
|
|
"type": "Reshape"
|
|
},
|
|
{
|
|
"c_id": [
|
|
17,
|
|
18
|
|
],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 512,
|
|
"psize": 2048,
|
|
"rom_size": 384
|
|
},
|
|
"id": 18,
|
|
"inputs": [],
|
|
"name": "arith_constant19",
|
|
"original": "",
|
|
"type": "Placeholder"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 16,
|
|
"psize": 64,
|
|
"rom_size": 0
|
|
},
|
|
"id": 18,
|
|
"inputs": [],
|
|
"name": "arith_constant21",
|
|
"original": "",
|
|
"type": "Placeholder"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 528,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 64,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
16
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 18,
|
|
"inputs": [
|
|
"reshape_17_reshape",
|
|
"arith_constant19",
|
|
"arith_constant21"
|
|
],
|
|
"name": "gemm_18",
|
|
"original": "FULLY_CONNECTED",
|
|
"type": "Gemm"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 16,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 64,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
16
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 18,
|
|
"inputs": [
|
|
"gemm_18"
|
|
],
|
|
"name": "nl_18_nl",
|
|
"original": "FULLY_CONNECTED",
|
|
"type": "Nonlinearity"
|
|
},
|
|
{
|
|
"c_id": [
|
|
19
|
|
],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 32,
|
|
"psize": 128,
|
|
"rom_size": 88
|
|
},
|
|
"id": 19,
|
|
"inputs": [],
|
|
"name": "arith_constant18",
|
|
"original": "",
|
|
"type": "Placeholder"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 0,
|
|
"n_params": 2,
|
|
"psize": 8,
|
|
"rom_size": 0
|
|
},
|
|
"id": 19,
|
|
"inputs": [],
|
|
"name": "arith_constant20",
|
|
"original": "",
|
|
"type": "Placeholder"
|
|
},
|
|
{
|
|
"c_id": [],
|
|
"extras": {
|
|
"n_macc": 34,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 8,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
2
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 19,
|
|
"inputs": [
|
|
"nl_18_nl",
|
|
"arith_constant18",
|
|
"arith_constant20"
|
|
],
|
|
"name": "gemm_19",
|
|
"original": "FULLY_CONNECTED",
|
|
"type": "Gemm"
|
|
},
|
|
{
|
|
"c_id": [
|
|
20
|
|
],
|
|
"extras": {
|
|
"n_macc": 30,
|
|
"n_params": 0,
|
|
"psize": 0,
|
|
"rom_output": {
|
|
"c_size": 8,
|
|
"fmt": {
|
|
"format": "float"
|
|
},
|
|
"shape": [
|
|
2
|
|
]
|
|
},
|
|
"rom_size": 0
|
|
},
|
|
"id": 20,
|
|
"inputs": [
|
|
"gemm_19"
|
|
],
|
|
"name": "nl_20",
|
|
"original": "SOFTMAX",
|
|
"type": "Nonlinearity"
|
|
}
|
|
],
|
|
"model_files": [
|
|
"D:\\Job_Work\\Code\\Z_Python\\myEnv\\model2.tflite"
|
|
],
|
|
"model_n_params": 4210,
|
|
"model_name": "model2",
|
|
"model_size": 16840,
|
|
"model_type": "tflite",
|
|
"name": "model",
|
|
"outputs": [
|
|
"nl_20"
|
|
],
|
|
"ram_io_size": [
|
|
0,
|
|
0
|
|
],
|
|
"ram_size": 11904,
|
|
"report_version": 1.1,
|
|
"rom_cfact": 1.0,
|
|
"rom_heap_inspector": 2048,
|
|
"rom_inputs": [
|
|
{
|
|
"c_size": 1040,
|
|
"c_type": "float",
|
|
"name": "serving_default_input0"
|
|
}
|
|
],
|
|
"rom_n_macc": 156480,
|
|
"rom_outputs": [
|
|
{
|
|
"c_size": 8,
|
|
"c_type": "float",
|
|
"name": "nl_20"
|
|
}
|
|
],
|
|
"rom_size": 14936,
|
|
"strategy": "",
|
|
"tools_api_version": "2.0.0-20049",
|
|
"tools_version": "2.0.0-20049",
|
|
"val_error": -1.0,
|
|
"val_error_desc": "None (None) #-1",
|
|
"val_metrics": []
|
|
} |