{ "_allocate_inputs": 4, "_allocate_outputs": 4, "cli_parameters": "generate --target stm32f4 --name model -m D:/Job_Work/Code/Z_Python/myEnv/model.tflite --compression high --verbosity 1 -O ram --workspace C:/Users/admin/AppData/Local/Temp/mxAI_workspace24283202520290017248046793415177393 --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-19T13:07:49+0800", "error": 0, "error_str": [], "exec_cmd": "generate", "exec_duration": 0.0, "hash": "0x391deb77460dcfce8d55e2fc3b80314e", "inputs": [ "serving_default_input0" ], "layers": [ { "c_id": [], "extras": { "n_macc": 0, "n_params": 0, "psize": 0, "rom_output": { "c_size": 4096, "fmt": { "format": "float" }, "shape": [ 1024 ] }, "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": 147472, "n_params": 160, "psize": 640, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 4, "inputs": [ "reshape_3" ], "name": "conv2d_4", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [], "extras": { "n_macc": 16384, "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": 16384, "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": 36880, "n_params": 160, "psize": 640, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 640 }, "id": 6, "inputs": [ "pool_5" ], "name": "conv2d_6", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 2, 3 ], "extras": { "n_macc": 65552, "n_params": 272, "psize": 1088, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 1088 }, "id": 7, "inputs": [ "conv2d_6" ], "name": "conv2d_7", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [], "extras": { "n_macc": 4096, "n_params": 0, "psize": 0, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 7, "inputs": [ "conv2d_7" ], "name": "nl_7_nl", "original": "CONV_2D", "type": "Nonlinearity" }, { "c_id": [ 4 ], "extras": { "n_macc": 36880, "n_params": 160, "psize": 640, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 640 }, "id": 8, "inputs": [ "nl_7_nl" ], "name": "conv2d_8", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 5 ], "extras": { "n_macc": 65552, "n_params": 272, "psize": 1088, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 1088 }, "id": 9, "inputs": [ "conv2d_8" ], "name": "conv2d_9", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [ 6, 7 ], "extras": { "n_macc": 4096, "n_params": 0, "psize": 0, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 10, "inputs": [ "pool_5", "conv2d_9" ], "name": "eltwise_10", "original": "ADD", "type": "Eltwise" }, { "c_id": [], "extras": { "n_macc": 4096, "n_params": 0, "psize": 0, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 10, "inputs": [ "eltwise_10" ], "name": "nl_10_nl", "original": "ADD", "type": "Nonlinearity" }, { "c_id": [ 8 ], "extras": { "n_macc": 36880, "n_params": 160, "psize": 640, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 640 }, "id": 11, "inputs": [ "nl_10_nl" ], "name": "conv2d_11", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 9, 10 ], "extras": { "n_macc": 65552, "n_params": 272, "psize": 1088, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 1088 }, "id": 12, "inputs": [ "conv2d_11" ], "name": "conv2d_12", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [], "extras": { "n_macc": 4096, "n_params": 0, "psize": 0, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 12, "inputs": [ "conv2d_12" ], "name": "nl_12_nl", "original": "CONV_2D", "type": "Nonlinearity" }, { "c_id": [ 11 ], "extras": { "n_macc": 36880, "n_params": 160, "psize": 640, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 640 }, "id": 13, "inputs": [ "nl_12_nl" ], "name": "conv2d_13", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 12 ], "extras": { "n_macc": 65552, "n_params": 272, "psize": 1088, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 1088 }, "id": 14, "inputs": [ "conv2d_13" ], "name": "conv2d_14", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [ 13, 14 ], "extras": { "n_macc": 4096, "n_params": 0, "psize": 0, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 15, "inputs": [ "nl_10_nl", "conv2d_14" ], "name": "eltwise_15", "original": "ADD", "type": "Eltwise" }, { "c_id": [], "extras": { "n_macc": 4096, "n_params": 0, "psize": 0, "rom_output": { "c_size": 16384, "fmt": { "format": "float" }, "shape": [ 16, 16, 16 ] }, "rom_size": 0 }, "id": 15, "inputs": [ "eltwise_15" ], "name": "nl_15_nl", "original": "ADD", "type": "Nonlinearity" }, { "c_id": [ 16 ], "extras": { "n_macc": 9232, "n_params": 160, "psize": 640, "rom_output": { "c_size": 4096, "fmt": { "format": "float" }, "shape": [ 8, 16, 8 ] }, "rom_size": 640 }, "id": 16, "inputs": [ "nl_15_nl" ], "name": "conv2d_16", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 17, 18 ], "extras": { "n_macc": 32800, "n_params": 544, "psize": 2176, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 2176 }, "id": 17, "inputs": [ "conv2d_16" ], "name": "conv2d_17", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 0 }, "id": 17, "inputs": [ "conv2d_17" ], "name": "nl_17_nl", "original": "CONV_2D", "type": "Nonlinearity" }, { "c_id": [ 19 ], "extras": { "n_macc": 18464, "n_params": 320, "psize": 1280, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 1280 }, "id": 18, "inputs": [ "nl_17_nl" ], "name": "conv2d_18", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 20 ], "extras": { "n_macc": 65568, "n_params": 1056, "psize": 4224, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 4224 }, "id": 19, "inputs": [ "conv2d_18" ], "name": "conv2d_19", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [ 15 ], "extras": { "n_macc": 32800, "n_params": 544, "psize": 2176, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 2176 }, "id": 20, "inputs": [ "nl_15_nl" ], "name": "conv2d_20", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [ 21, 22 ], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 0 }, "id": 21, "inputs": [ "conv2d_20", "conv2d_19" ], "name": "eltwise_21", "original": "ADD", "type": "Eltwise" }, { "c_id": [], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 0 }, "id": 21, "inputs": [ "eltwise_21" ], "name": "nl_21_nl", "original": "ADD", "type": "Nonlinearity" }, { "c_id": [ 23 ], "extras": { "n_macc": 18464, "n_params": 320, "psize": 1280, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 1280 }, "id": 22, "inputs": [ "nl_21_nl" ], "name": "conv2d_22", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 24, 25 ], "extras": { "n_macc": 65568, "n_params": 1056, "psize": 4224, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 4224 }, "id": 23, "inputs": [ "conv2d_22" ], "name": "conv2d_23", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 0 }, "id": 23, "inputs": [ "conv2d_23" ], "name": "nl_23_nl", "original": "CONV_2D", "type": "Nonlinearity" }, { "c_id": [ 26 ], "extras": { "n_macc": 18464, "n_params": 320, "psize": 1280, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 1280 }, "id": 24, "inputs": [ "nl_23_nl" ], "name": "conv2d_24", "original": "DEPTHWISE_CONV_2D", "type": "Conv2D" }, { "c_id": [ 27 ], "extras": { "n_macc": 65568, "n_params": 1056, "psize": 4224, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 4224 }, "id": 25, "inputs": [ "conv2d_24" ], "name": "conv2d_25", "original": "CONV_2D", "type": "Conv2D" }, { "c_id": [ 28, 29 ], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 0 }, "id": 26, "inputs": [ "nl_21_nl", "conv2d_25" ], "name": "eltwise_26", "original": "ADD", "type": "Eltwise" }, { "c_id": [], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 8192, "fmt": { "format": "float" }, "shape": [ 8, 32, 8 ] }, "rom_size": 0 }, "id": 26, "inputs": [ "eltwise_26" ], "name": "nl_26_nl", "original": "ADD", "type": "Nonlinearity" }, { "c_id": [ 30 ], "extras": { "n_macc": 2048, "n_params": 0, "psize": 0, "rom_output": { "c_size": 128, "fmt": { "format": "float" }, "shape": [ 1, 32, 1 ] }, "rom_size": 0 }, "id": 27, "inputs": [ "nl_26_nl" ], "name": "pool_27", "original": "MEAN", "type": "Pool" }, { "c_id": [], "extras": { "n_macc": 0, "n_params": 0, "psize": 0, "rom_size": 0 }, "id": 27, "inputs": [ "pool_27" ], "name": "reshape_27_reshape", "original": "MEAN", "type": "Reshape" }, { "c_id": [ 31, 32 ], "extras": { "n_macc": 0, "n_params": 1024, "psize": 4096, "rom_size": 704 }, "id": 28, "inputs": [], "name": "arith_constant31", "original": "", "type": "Placeholder" }, { "c_id": [], "extras": { "n_macc": 0, "n_params": 32, "psize": 128, "rom_size": 0 }, "id": 28, "inputs": [], "name": "arith_constant33", "original": "", "type": "Placeholder" }, { "c_id": [], "extras": { "n_macc": 1056, "n_params": 0, "psize": 0, "rom_output": { "c_size": 128, "fmt": { "format": "float" }, "shape": [ 32 ] }, "rom_size": 0 }, "id": 28, "inputs": [ "reshape_27_reshape", "arith_constant31", "arith_constant33" ], "name": "gemm_28", "original": "FULLY_CONNECTED", "type": "Gemm" }, { "c_id": [], "extras": { "n_macc": 32, "n_params": 0, "psize": 0, "rom_output": { "c_size": 128, "fmt": { "format": "float" }, "shape": [ 32 ] }, "rom_size": 0 }, "id": 28, "inputs": [ "gemm_28" ], "name": "nl_28_nl", "original": "FULLY_CONNECTED", "type": "Nonlinearity" }, { "c_id": [ 33 ], "extras": { "n_macc": 0, "n_params": 96, "psize": 384, "rom_size": 124 }, "id": 29, "inputs": [], "name": "arith_constant30", "original": "", "type": "Placeholder" }, { "c_id": [], "extras": { "n_macc": 0, "n_params": 3, "psize": 12, "rom_size": 0 }, "id": 29, "inputs": [], "name": "arith_constant32", "original": "", "type": "Placeholder" }, { "c_id": [], "extras": { "n_macc": 99, "n_params": 0, "psize": 0, "rom_output": { "c_size": 12, "fmt": { "format": "float" }, "shape": [ 3 ] }, "rom_size": 0 }, "id": 29, "inputs": [ "nl_28_nl", "arith_constant30", "arith_constant32" ], "name": "gemm_29", "original": "FULLY_CONNECTED", "type": "Gemm" }, { "c_id": [ 34 ], "extras": { "n_macc": 45, "n_params": 0, "psize": 0, "rom_output": { "c_size": 12, "fmt": { "format": "float" }, "shape": [ 3 ] }, "rom_size": 0 }, "id": 30, "inputs": [ "gemm_29" ], "name": "nl_30", "original": "SOFTMAX", "type": "Nonlinearity" } ], "model_files": [ "D:\\Job_Work\\Code\\Z_Python\\myEnv\\model.tflite" ], "model_n_params": 8419, "model_name": "model", "model_size": 33676, "model_type": "tflite", "name": "model", "outputs": [ "nl_30" ], "ram_io_size": [ 0, 0 ], "ram_size": 37120, "report_version": 1.1, "rom_cfact": 1.0, "rom_heap_inspector": 2048, "rom_inputs": [ { "c_size": 4096, "c_type": "float", "name": "serving_default_input0" } ], "rom_n_macc": 957040, "rom_outputs": [ { "c_size": 12, "c_type": "float", "name": "nl_30" } ], "rom_size": 29372, "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": [] }