{"note":"","code":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><variables><variable type=\"\" id=\"3-U9=B@*44$vC.Wjk|;R\">dataX</variable><variable type=\"\" id=\"UO_xL:{KuPM%bU}O0-Cu\">dataY</variable><variable type=\"\" id=\"LF[=dyuZd)`orG-xeW@q\">trainX</variable><variable type=\"\" id=\"bLXcSiIIZz,koi1J2eY,\">trainY</variable><variable type=\"\" id=\"BJO^e_f:lz|pmJBiqC*]\">testX</variable><variable type=\"\" id=\"N(K)$faPG8T7q-Kp?~PX\">testY</variable><variable type=\"\" id=\"iVsMvAGE!QS0/nSn)?=r\">model</variable><variable type=\"\" id=\"Ul_i1A{t%GKymzer?B{6\">result</variable><variable type=\"\" id=\"?miOs@r2#:{2pl=s(|#f\">predict</variable></variables><block type=\"text_print\" id=\"ALm1qUWXWeZWY6xkuoKH\" x=\"105\" y=\"45\"><value name=\"TEXT\"><shadow type=\"text\" id=\"3vjZUgo3Ho2KB1Stg7dT\"><field name=\"TEXT\">开始加载</field></shadow></value><next><block type=\"tf_data_mnist_load_and_assign\" id=\"TTtbuI14M4ConSc7UgZM\"><value name=\"X_INPUT\"><block type=\"variables_get\" id=\"iaO8l9jNnKPDSkm26PTM\"><field name=\"VAR\" id=\"3-U9=B@*44$vC.Wjk|;R\" variabletype=\"\">dataX</field></block></value><value name=\"Y_INPUT\"><block type=\"variables_get\" id=\"20HU1advR1GwETrDgE1n\"><field name=\"VAR\" id=\"UO_xL:{KuPM%bU}O0-Cu\" variabletype=\"\">dataY</field></block></value><next><block type=\"variables_set\" id=\"ISMtbWSHiooyEEy6mj5o\"><field name=\"VAR\" id=\"LF[=dyuZd)`orG-xeW@q\" variabletype=\"\">trainX</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"KFddtcNHE9woWLg3ko1e\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"sY5aVDaG1H5GlxjRQ8BX\"><field name=\"VAR\" id=\"3-U9=B@*44$vC.Wjk|;R\" variabletype=\"\">dataX</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"pnWjNBUxHd7vwAWTIbXI\"><field name=\"NUM\">0</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"Lsghm6Cy52iV0oKMFlEU\"><field name=\"NUM\">3000</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"dT4S4eBErIlJjqjY9R9R\"><field name=\"VAR\" id=\"bLXcSiIIZz,koi1J2eY,\" variabletype=\"\">trainY</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"yBaN0R9pXwLt4osENOzx\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"FlMlUSSuiEesgvapIufy\"><field name=\"VAR\" id=\"UO_xL:{KuPM%bU}O0-Cu\" variabletype=\"\">dataY</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"ap4oTRFNC8x9gTACkgvM\"><field name=\"NUM\">0</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"xmYHlFi2BEWcqnbojLoC\"><field name=\"NUM\">3000</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"gG1fyO6fNnXCzI5KCQec\"><field name=\"VAR\" id=\"BJO^e_f:lz|pmJBiqC*]\" variabletype=\"\">testX</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"45BPmXIywWsDDpWY4Xun\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"2cMIQUWKPcOe1iQCubHG\"><field name=\"VAR\" id=\"3-U9=B@*44$vC.Wjk|;R\" variabletype=\"\">dataX</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"ysmF4YFvwcl4PkotFoTU\"><field name=\"NUM\">3000</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"79KbHoIZv4HoRAuVSFii\"><field name=\"NUM\">3050</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"z9zcFrCsQNOqai1owdlo\"><field name=\"VAR\" id=\"N(K)$faPG8T7q-Kp?~PX\" variabletype=\"\">testY</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"JJsIh8O4Ea4SlpnwOTfF\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"XyHU5h1yaPeKHAKsGkry\"><field name=\"VAR\" id=\"UO_xL:{KuPM%bU}O0-Cu\" variabletype=\"\">dataY</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"kqlYsyLIsa3UWVVwn7Do\"><field name=\"NUM\">3000</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"KPKQPwrqIQ57FmCBGbeQ\"><field name=\"NUM\">3050</field></shadow></value></block></value><next><block type=\"text_print\" id=\"kz77fB8PpVs95Zuw1h11\"><value name=\"TEXT\"><shadow type=\"text\" id=\"IUMLd37IYIpvgg77HtKu\"><field name=\"TEXT\">加载完成</field></shadow></value><next><block type=\"variables_set\" id=\"wQI3UnkmAkYqyzc2ZMtl\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field><value name=\"VALUE\"><block type=\"tf_sequential\" id=\"vfqWlMJ1tdS5riYWZEbs\"></block></value><next><block type=\"tf_model_add\" id=\"bL4lWeNnyqY0QLVpHhkO\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"u7INnGoVt3O7AKftTxBE\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_conv2d\" id=\"Urctqu04q6Bcq69Xab9W\"><mutation items=\"{&quot;filters&quot;:true,&quot;kernelSize&quot;:true,&quot;activation&quot;:true,&quot;inputShape&quot;:true}\"></mutation><field name=\"activation\">relu</field><value name=\"filters\"><shadow type=\"math_number\" id=\"KAcpr1AaCqTo4QRY8Cbj\"><field name=\"NUM\">8</field></shadow></value><value name=\"kernelSize\"><shadow type=\"math_number\" id=\"l7rp0KnKUShaDfgqbUdM\"><field name=\"NUM\">5</field></shadow></value><value name=\"inputShape\"><shadow type=\"math_number\" id=\"oAQQ5EdigvtdWYuR9AZ9\"><field name=\"NUM\">0</field></shadow><block type=\"lists_create_with\" id=\"ybgkGZ0R2cVR4vF7JASU\"><mutation items=\"3\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"Ijl4dwFYumNkbmxAg515\"><field name=\"NUM\">28</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"dDDlQ2uboKqeFbOzwDKL\"><field name=\"NUM\">28</field></shadow></value><value name=\"ADD2\"><shadow type=\"math_number\" id=\"IVQeVb2ux3jcfWbhGDIP\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><next><block type=\"tf_model_add\" id=\"5AmUrwdK0xsYvEJgJMJK\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"m5LUEDMyMaT3NN1U53bM\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_maxPooling2d\" id=\"oS0aWaWbI6PUMktdALXE\"><mutation items=\"{&quot;poolSize&quot;:true,&quot;strides&quot;:true}\"></mutation><value name=\"poolSize\"><shadow type=\"math_number\" id=\"62tDRTyIBZeKCxUHCcol\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"SiUAQeFYMkJJfwNOEIVq\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"BWUCjiP8lawNZ4TgnJcy\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"hfVsE7G00XreKtC9gB8k\"><field name=\"NUM\">2</field></shadow></value></block></value><value name=\"strides\"><shadow type=\"math_number\" id=\"5l8DRay6EFdc13wWuYPI\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"Ep0Gq0YcKa1hVdzru1dX\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"0Gk6w5nsaDoAtIogtaoz\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"ekVexojdGiSbCwWS082t\"><field name=\"NUM\">2</field></shadow></value></block></value></block></value><next><block type=\"tf_model_add\" id=\"zCEolHR95Y7y7QrbwJfU\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"tU6lqFCEMobWdWlhbzHk\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_conv2d\" id=\"BorTDfTEo22k9gGSNFm3\"><mutation items=\"{&quot;filters&quot;:true,&quot;kernelSize&quot;:true,&quot;activation&quot;:true,&quot;inputShape&quot;:false}\"></mutation><field name=\"activation\">relu</field><value name=\"filters\"><shadow type=\"math_number\" id=\"CmuFVSVhIid8ZHnqLJI9\"><field name=\"NUM\">16</field></shadow></value><value name=\"kernelSize\"><shadow type=\"math_number\" id=\"mnVz0MPJGZIvYfyjfsST\"><field name=\"NUM\">5</field></shadow></value></block></value><next><block type=\"tf_model_add\" id=\"g2PMZhy4q5RpVwHbB4Mk\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"gKfK5K1yULTOeM30pjZ0\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_maxPooling2d\" id=\"IgX6VnHuWhaacFjWl9yo\"><mutation items=\"{&quot;poolSize&quot;:true,&quot;strides&quot;:true}\"></mutation><value name=\"poolSize\"><shadow type=\"math_number\" id=\"TPvBcIycKWyMTHBgryeD\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"lhGzv1JxsJIO2Ss0WAzp\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"gWzkefkrfPnPle2pIKYd\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"A7jNluS2xgBX1vE1OE46\"><field name=\"NUM\">2</field></shadow></value></block></value><value name=\"strides\"><shadow type=\"math_number\" id=\"AWTvFlXTP3rdF6HSnBLT\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"IkOXBMjFQYivkKGdKEcj\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"fcEEIIUufMDnilcLMd1B\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"IYdQRvtH7613zxQ2RXJZ\"><field name=\"NUM\">2</field></shadow></value></block></value></block></value><next><block type=\"tf_model_add\" id=\"TURnTz0qmUeiLqlTnQtB\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"3dJIgftl6iPhQJogMYYA\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_flatten\" id=\"QXnZpo7GYRVt6RHudfzd\"><mutation items=\"{&quot;inputShape&quot;:false}\"></mutation></block></value><next><block type=\"tf_model_add\" id=\"TVBmuXGUorpHYilARdHn\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"BnG1vmKVAtZyqFD2FeUC\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_dense\" id=\"suao5u4GbMJbzaU6BaJx\"><mutation items=\"{&quot;units&quot;:true,&quot;activation&quot;:true,&quot;inputShape&quot;:false,&quot;kernelInitializer&quot;:false,&quot;useBias&quot;:false}\"></mutation><field name=\"activation\">softmax</field><value name=\"units\"><shadow type=\"math_number\" id=\"jRtHPhwz7r17GhnXLFIP\"><field name=\"NUM\">10</field></shadow></value></block></value><next><block type=\"tf_model_summary\" id=\"4lHKG0Vqgc33Nrj7c5G6\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"CCsmdPpMFzhLAqZ6Vjlo\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><next><block type=\"tf_model_compile\" id=\"O7Z7ByIgi2dSzwT4U7dB\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"S8cdixuik9jtgfY3kgc0\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"OPTIMIZER\"><shadow type=\"tf_model_optimizer_dropdown\" id=\"diKPpQxKFE1WnHS9EPua\"><field name=\"OPTIMIZER\">adam</field></shadow></value><value name=\"LOSS\"><shadow type=\"tf_model_loss_dropdown\" id=\"9ijDQPgvvPgcCHV8XUsW\"><field name=\"LOSS\">categoricalCrossentropy</field></shadow></value><next><block type=\"text_print\" id=\"SV1Z29PVjrg1beZQHdQY\"><value name=\"TEXT\"><shadow type=\"text\" id=\"3M2MEiHzdZVHyaElKxpR\"><field name=\"TEXT\">开始训练</field></shadow></value><next><block type=\"ec_toggle_tf_vis\" id=\"7DPNE2reXou8Pawp3vyB\"><mutation checked=\"true\"></mutation><field name=\"SWITCH\">on</field><next><block type=\"tf_model_fit\" id=\"b6RSGP87ihVVXOeOl4E7\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"7g9R7IjL28K4jj5oHeHl\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"X_TRAIN\"><block type=\"variables_get\" id=\"jFLmI5ZumKepFNvIchkW\"><field name=\"VAR\" id=\"LF[=dyuZd)`orG-xeW@q\" variabletype=\"\">trainX</field></block></value><value name=\"Y_TRAIN\"><block type=\"variables_get\" id=\"KOVWIvwhmHtTMjQuZi2h\"><field name=\"VAR\" id=\"bLXcSiIIZz,koi1J2eY,\" variabletype=\"\">trainY</field></block></value><value name=\"BATCH_SIZE\"><shadow type=\"math_number\" id=\"Q7j25EmM4mRrcL3mQtF3\"><field name=\"NUM\">100</field></shadow></value><value name=\"EPOCHS\"><shadow type=\"math_number\" id=\"FcpYPmhmf2ZEFkpGsQxL\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"text_print\" id=\"rbtnrhru6qYgNroMcCWB\"><value name=\"TEXT\"><shadow type=\"text\" id=\"03KgzQdISjfgyIUDjlra\"><field name=\"TEXT\">训练完成</field></shadow></value><next><block type=\"variables_set\" id=\"zkKkSO221KC88z0nhkYV\"><field name=\"VAR\" id=\"Ul_i1A{t%GKymzer?B{6\" variabletype=\"\">result</field><value name=\"VALUE\"><block type=\"tf_model_evaluate\" id=\"tDVoblHs3mxRQ0ruVthI\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"k2aOrLdjXBYxGhpazilo\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"X_TEST\"><block type=\"variables_get\" id=\"vcEnOTcDwmVGOFRZPuy1\"><field name=\"VAR\" id=\"BJO^e_f:lz|pmJBiqC*]\" variabletype=\"\">testX</field></block></value><value name=\"Y_TEST\"><block type=\"variables_get\" id=\"TmjpIvr2TirYeOT9kgwr\"><field name=\"VAR\" id=\"N(K)$faPG8T7q-Kp?~PX\" variabletype=\"\">testY</field></block></value></block></value><next><block type=\"text_print\" id=\"YKCNI5HwkHBHM7DWVq5z\"><value name=\"TEXT\"><shadow type=\"text\" id=\"mq71xd5MN19sSMBLGRtz\"><field name=\"TEXT\">loss:</field></shadow></value><next><block type=\"ec_print\" id=\"OkPOEmDkxz0t7uZY1Q9Q\"><mutation items=\"0\"></mutation><next><block type=\"text_print\" id=\"yZlTnU2aV3jxAQlBlm9A\"><value name=\"TEXT\"><shadow type=\"text\" id=\"QBVVqyzSBJ2g2a9IF8oS\"><field name=\"TEXT\">metrics:</field></shadow></value><next><block type=\"ec_print\" id=\"reZLxwPIAoErIncTpS0D\"><mutation items=\"0\"></mutation><next><block type=\"text_print\" id=\"L8fxtw3OSVRuwB2weFua\"><value name=\"TEXT\"><shadow type=\"text\" id=\"O1X3a9Brm9FNMIHCk7WK\"><field name=\"TEXT\">预测结果</field></shadow></value><next><block type=\"ec_toggle_hand_draw\" id=\"M5XPDyAA9fUqZW4RfTPx\"><mutation checked=\"true\"></mutation><field name=\"SWITCH\">on</field><next><block type=\"ec_hand_draw_setting\" id=\"ZEaP4IvkNDrhc5zZV9AT\"><field name=\"BACKGROUND\">#000000</field><field name=\"STROKE\">#ffffff</field><value name=\"WEIGHT\"><shadow type=\"math_number\" id=\"8f6G55Hbme2dzQOoUya0\"><field name=\"NUM\">40</field></shadow></value><next><block type=\"ec_when_click_handdraw_btn\" id=\"2iB2sor3di2G35082jLq\"><field name=\"BTN\">screenshot</field><statement name=\"DO\"><block type=\"variables_set\" id=\"m358uSseIVtiN16cI3LP\"><field name=\"VAR\" id=\"?miOs@r2#:{2pl=s(|#f\" variabletype=\"\">predict</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"s7eYR(s##sY~uJFou;@b\"><field name=\"NUM\">1</field></shadow><block type=\"tf_model_predict\" id=\"SXNCMViVsJK7ijbkMKkY\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"8NlHd9YsGlxZPRG3Lx72\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"X_INPUT\"><block type=\"ec_hand_draw_image_tensor\" id=\"QJm1YqskcnNF7admGm1y\"><field name=\"CHANNEL\">1</field><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"ssQGShOwt4b7ajJ1u5Oe\"><field name=\"NUM\">28</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"n5c2OGBcZQ9zIX05avZY\"><field name=\"NUM\">28</field></shadow></value></block></value></block></value><next><block type=\"text_print\" id=\"EQtamWtyInIZzPXenmJY\"><value name=\"TEXT\"><shadow type=\"text\" id=\"+/-8pi;Ug:UFxMI3H_wV\"><field name=\"TEXT\">abc</field></shadow><block type=\"tf_tensor_argMax\" id=\"vnW3r6O3janylQWRMUZK\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"fmrLk9xwOtH64xlHjclq\"><field name=\"VAR\" id=\"?miOs@r2#:{2pl=s(|#f\" variabletype=\"\">predict</field></block></value><value name=\"AXIS\"><shadow type=\"math_number\" id=\"kQ5Mi0oBJ06G4HTGIqFx\"><field name=\"NUM\">1</field></shadow></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>","xml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><variables><variable type=\"\" id=\"3-U9=B@*44$vC.Wjk|;R\">dataX</variable><variable type=\"\" id=\"UO_xL:{KuPM%bU}O0-Cu\">dataY</variable><variable type=\"\" id=\"LF[=dyuZd)`orG-xeW@q\">trainX</variable><variable type=\"\" id=\"bLXcSiIIZz,koi1J2eY,\">trainY</variable><variable type=\"\" id=\"BJO^e_f:lz|pmJBiqC*]\">testX</variable><variable type=\"\" id=\"N(K)$faPG8T7q-Kp?~PX\">testY</variable><variable type=\"\" id=\"iVsMvAGE!QS0/nSn)?=r\">model</variable><variable type=\"\" id=\"Ul_i1A{t%GKymzer?B{6\">result</variable><variable type=\"\" id=\"?miOs@r2#:{2pl=s(|#f\">predict</variable></variables><block type=\"text_print\" id=\"ALm1qUWXWeZWY6xkuoKH\" x=\"105\" y=\"45\"><value name=\"TEXT\"><shadow type=\"text\" id=\"3vjZUgo3Ho2KB1Stg7dT\"><field name=\"TEXT\">开始加载</field></shadow></value><next><block type=\"tf_data_mnist_load_and_assign\" id=\"TTtbuI14M4ConSc7UgZM\"><value name=\"X_INPUT\"><block type=\"variables_get\" id=\"iaO8l9jNnKPDSkm26PTM\"><field name=\"VAR\" id=\"3-U9=B@*44$vC.Wjk|;R\" variabletype=\"\">dataX</field></block></value><value name=\"Y_INPUT\"><block type=\"variables_get\" id=\"20HU1advR1GwETrDgE1n\"><field name=\"VAR\" id=\"UO_xL:{KuPM%bU}O0-Cu\" variabletype=\"\">dataY</field></block></value><next><block type=\"variables_set\" id=\"ISMtbWSHiooyEEy6mj5o\"><field name=\"VAR\" id=\"LF[=dyuZd)`orG-xeW@q\" variabletype=\"\">trainX</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"KFddtcNHE9woWLg3ko1e\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"sY5aVDaG1H5GlxjRQ8BX\"><field name=\"VAR\" id=\"3-U9=B@*44$vC.Wjk|;R\" variabletype=\"\">dataX</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"pnWjNBUxHd7vwAWTIbXI\"><field name=\"NUM\">0</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"Lsghm6Cy52iV0oKMFlEU\"><field name=\"NUM\">3000</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"dT4S4eBErIlJjqjY9R9R\"><field name=\"VAR\" id=\"bLXcSiIIZz,koi1J2eY,\" variabletype=\"\">trainY</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"yBaN0R9pXwLt4osENOzx\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"FlMlUSSuiEesgvapIufy\"><field name=\"VAR\" id=\"UO_xL:{KuPM%bU}O0-Cu\" variabletype=\"\">dataY</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"ap4oTRFNC8x9gTACkgvM\"><field name=\"NUM\">0</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"xmYHlFi2BEWcqnbojLoC\"><field name=\"NUM\">3000</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"gG1fyO6fNnXCzI5KCQec\"><field name=\"VAR\" id=\"BJO^e_f:lz|pmJBiqC*]\" variabletype=\"\">testX</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"45BPmXIywWsDDpWY4Xun\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"2cMIQUWKPcOe1iQCubHG\"><field name=\"VAR\" id=\"3-U9=B@*44$vC.Wjk|;R\" variabletype=\"\">dataX</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"ysmF4YFvwcl4PkotFoTU\"><field name=\"NUM\">3000</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"79KbHoIZv4HoRAuVSFii\"><field name=\"NUM\">3050</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"z9zcFrCsQNOqai1owdlo\"><field name=\"VAR\" id=\"N(K)$faPG8T7q-Kp?~PX\" variabletype=\"\">testY</field><value name=\"VALUE\"><block type=\"tf_tensor_slice\" id=\"JJsIh8O4Ea4SlpnwOTfF\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"XyHU5h1yaPeKHAKsGkry\"><field name=\"VAR\" id=\"UO_xL:{KuPM%bU}O0-Cu\" variabletype=\"\">dataY</field></block></value><value name=\"BEGIN\"><shadow type=\"math_number\" id=\"kqlYsyLIsa3UWVVwn7Do\"><field name=\"NUM\">3000</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"KPKQPwrqIQ57FmCBGbeQ\"><field name=\"NUM\">3050</field></shadow></value></block></value><next><block type=\"text_print\" id=\"kz77fB8PpVs95Zuw1h11\"><value name=\"TEXT\"><shadow type=\"text\" id=\"IUMLd37IYIpvgg77HtKu\"><field name=\"TEXT\">加载完成</field></shadow></value><next><block type=\"variables_set\" id=\"wQI3UnkmAkYqyzc2ZMtl\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field><value name=\"VALUE\"><block type=\"tf_sequential\" id=\"vfqWlMJ1tdS5riYWZEbs\"></block></value><next><block type=\"tf_model_add\" id=\"bL4lWeNnyqY0QLVpHhkO\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"u7INnGoVt3O7AKftTxBE\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_conv2d\" id=\"Urctqu04q6Bcq69Xab9W\"><mutation items=\"{&quot;filters&quot;:true,&quot;kernelSize&quot;:true,&quot;activation&quot;:true,&quot;inputShape&quot;:true}\"></mutation><field name=\"activation\">relu</field><value name=\"filters\"><shadow type=\"math_number\" id=\"KAcpr1AaCqTo4QRY8Cbj\"><field name=\"NUM\">8</field></shadow></value><value name=\"kernelSize\"><shadow type=\"math_number\" id=\"l7rp0KnKUShaDfgqbUdM\"><field name=\"NUM\">5</field></shadow></value><value name=\"inputShape\"><shadow type=\"math_number\" id=\"oAQQ5EdigvtdWYuR9AZ9\"><field name=\"NUM\">0</field></shadow><block type=\"lists_create_with\" id=\"ybgkGZ0R2cVR4vF7JASU\"><mutation items=\"3\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"Ijl4dwFYumNkbmxAg515\"><field name=\"NUM\">28</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"dDDlQ2uboKqeFbOzwDKL\"><field name=\"NUM\">28</field></shadow></value><value name=\"ADD2\"><shadow type=\"math_number\" id=\"IVQeVb2ux3jcfWbhGDIP\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><next><block type=\"tf_model_add\" id=\"5AmUrwdK0xsYvEJgJMJK\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"m5LUEDMyMaT3NN1U53bM\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_maxPooling2d\" id=\"oS0aWaWbI6PUMktdALXE\"><mutation items=\"{&quot;poolSize&quot;:true,&quot;strides&quot;:true}\"></mutation><value name=\"poolSize\"><shadow type=\"math_number\" id=\"62tDRTyIBZeKCxUHCcol\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"SiUAQeFYMkJJfwNOEIVq\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"BWUCjiP8lawNZ4TgnJcy\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"hfVsE7G00XreKtC9gB8k\"><field name=\"NUM\">2</field></shadow></value></block></value><value name=\"strides\"><shadow type=\"math_number\" id=\"5l8DRay6EFdc13wWuYPI\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"Ep0Gq0YcKa1hVdzru1dX\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"0Gk6w5nsaDoAtIogtaoz\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"ekVexojdGiSbCwWS082t\"><field name=\"NUM\">2</field></shadow></value></block></value></block></value><next><block type=\"tf_model_add\" id=\"zCEolHR95Y7y7QrbwJfU\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"tU6lqFCEMobWdWlhbzHk\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_conv2d\" id=\"BorTDfTEo22k9gGSNFm3\"><mutation items=\"{&quot;filters&quot;:true,&quot;kernelSize&quot;:true,&quot;activation&quot;:true,&quot;inputShape&quot;:false}\"></mutation><field name=\"activation\">relu</field><value name=\"filters\"><shadow type=\"math_number\" id=\"CmuFVSVhIid8ZHnqLJI9\"><field name=\"NUM\">16</field></shadow></value><value name=\"kernelSize\"><shadow type=\"math_number\" id=\"mnVz0MPJGZIvYfyjfsST\"><field name=\"NUM\">5</field></shadow></value></block></value><next><block type=\"tf_model_add\" id=\"g2PMZhy4q5RpVwHbB4Mk\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"gKfK5K1yULTOeM30pjZ0\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_maxPooling2d\" id=\"IgX6VnHuWhaacFjWl9yo\"><mutation items=\"{&quot;poolSize&quot;:true,&quot;strides&quot;:true}\"></mutation><value name=\"poolSize\"><shadow type=\"math_number\" id=\"TPvBcIycKWyMTHBgryeD\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"lhGzv1JxsJIO2Ss0WAzp\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"gWzkefkrfPnPle2pIKYd\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"A7jNluS2xgBX1vE1OE46\"><field name=\"NUM\">2</field></shadow></value></block></value><value name=\"strides\"><shadow type=\"math_number\" id=\"AWTvFlXTP3rdF6HSnBLT\"><field name=\"NUM\">2</field></shadow><block type=\"lists_create_with\" id=\"IkOXBMjFQYivkKGdKEcj\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><shadow type=\"math_number\" id=\"fcEEIIUufMDnilcLMd1B\"><field name=\"NUM\">2</field></shadow></value><value name=\"ADD1\"><shadow type=\"math_number\" id=\"IYdQRvtH7613zxQ2RXJZ\"><field name=\"NUM\">2</field></shadow></value></block></value></block></value><next><block type=\"tf_model_add\" id=\"TURnTz0qmUeiLqlTnQtB\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"3dJIgftl6iPhQJogMYYA\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_flatten\" id=\"QXnZpo7GYRVt6RHudfzd\"><mutation items=\"{&quot;inputShape&quot;:false}\"></mutation></block></value><next><block type=\"tf_model_add\" id=\"TVBmuXGUorpHYilARdHn\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"BnG1vmKVAtZyqFD2FeUC\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"LAYER\"><block type=\"tf_layer_dense\" id=\"suao5u4GbMJbzaU6BaJx\"><mutation items=\"{&quot;units&quot;:true,&quot;activation&quot;:true,&quot;inputShape&quot;:false,&quot;kernelInitializer&quot;:false,&quot;useBias&quot;:false}\"></mutation><field name=\"activation\">softmax</field><value name=\"units\"><shadow type=\"math_number\" id=\"jRtHPhwz7r17GhnXLFIP\"><field name=\"NUM\">10</field></shadow></value></block></value><next><block type=\"tf_model_summary\" id=\"4lHKG0Vqgc33Nrj7c5G6\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"CCsmdPpMFzhLAqZ6Vjlo\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><next><block type=\"tf_model_compile\" id=\"O7Z7ByIgi2dSzwT4U7dB\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"S8cdixuik9jtgfY3kgc0\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"OPTIMIZER\"><shadow type=\"tf_model_optimizer_dropdown\" id=\"diKPpQxKFE1WnHS9EPua\"><field name=\"OPTIMIZER\">adam</field></shadow></value><value name=\"LOSS\"><shadow type=\"tf_model_loss_dropdown\" id=\"9ijDQPgvvPgcCHV8XUsW\"><field name=\"LOSS\">categoricalCrossentropy</field></shadow></value><next><block type=\"text_print\" id=\"SV1Z29PVjrg1beZQHdQY\"><value name=\"TEXT\"><shadow type=\"text\" id=\"3M2MEiHzdZVHyaElKxpR\"><field name=\"TEXT\">开始训练</field></shadow></value><next><block type=\"ec_toggle_tf_vis\" id=\"7DPNE2reXou8Pawp3vyB\"><mutation checked=\"true\"></mutation><field name=\"SWITCH\">on</field><next><block type=\"tf_model_fit\" id=\"b6RSGP87ihVVXOeOl4E7\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"7g9R7IjL28K4jj5oHeHl\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"X_TRAIN\"><block type=\"variables_get\" id=\"jFLmI5ZumKepFNvIchkW\"><field name=\"VAR\" id=\"LF[=dyuZd)`orG-xeW@q\" variabletype=\"\">trainX</field></block></value><value name=\"Y_TRAIN\"><block type=\"variables_get\" id=\"KOVWIvwhmHtTMjQuZi2h\"><field name=\"VAR\" id=\"bLXcSiIIZz,koi1J2eY,\" variabletype=\"\">trainY</field></block></value><value name=\"BATCH_SIZE\"><shadow type=\"math_number\" id=\"Q7j25EmM4mRrcL3mQtF3\"><field name=\"NUM\">100</field></shadow></value><value name=\"EPOCHS\"><shadow type=\"math_number\" id=\"FcpYPmhmf2ZEFkpGsQxL\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"text_print\" id=\"rbtnrhru6qYgNroMcCWB\"><value name=\"TEXT\"><shadow type=\"text\" id=\"03KgzQdISjfgyIUDjlra\"><field name=\"TEXT\">训练完成</field></shadow></value><next><block type=\"variables_set\" id=\"zkKkSO221KC88z0nhkYV\"><field name=\"VAR\" id=\"Ul_i1A{t%GKymzer?B{6\" variabletype=\"\">result</field><value name=\"VALUE\"><block type=\"tf_model_evaluate\" id=\"tDVoblHs3mxRQ0ruVthI\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"k2aOrLdjXBYxGhpazilo\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"X_TEST\"><block type=\"variables_get\" id=\"vcEnOTcDwmVGOFRZPuy1\"><field name=\"VAR\" id=\"BJO^e_f:lz|pmJBiqC*]\" variabletype=\"\">testX</field></block></value><value name=\"Y_TEST\"><block type=\"variables_get\" id=\"TmjpIvr2TirYeOT9kgwr\"><field name=\"VAR\" id=\"N(K)$faPG8T7q-Kp?~PX\" variabletype=\"\">testY</field></block></value></block></value><next><block type=\"text_print\" id=\"YKCNI5HwkHBHM7DWVq5z\"><value name=\"TEXT\"><shadow type=\"text\" id=\"mq71xd5MN19sSMBLGRtz\"><field name=\"TEXT\">loss:</field></shadow></value><next><block type=\"ec_print\" id=\"OkPOEmDkxz0t7uZY1Q9Q\"><mutation items=\"0\"></mutation><next><block type=\"text_print\" id=\"yZlTnU2aV3jxAQlBlm9A\"><value name=\"TEXT\"><shadow type=\"text\" id=\"QBVVqyzSBJ2g2a9IF8oS\"><field name=\"TEXT\">metrics:</field></shadow></value><next><block type=\"ec_print\" id=\"reZLxwPIAoErIncTpS0D\"><mutation items=\"0\"></mutation><next><block type=\"text_print\" id=\"L8fxtw3OSVRuwB2weFua\"><value name=\"TEXT\"><shadow type=\"text\" id=\"O1X3a9Brm9FNMIHCk7WK\"><field name=\"TEXT\">预测结果</field></shadow></value><next><block type=\"ec_toggle_hand_draw\" id=\"M5XPDyAA9fUqZW4RfTPx\"><mutation checked=\"true\"></mutation><field name=\"SWITCH\">on</field><next><block type=\"ec_hand_draw_setting\" id=\"ZEaP4IvkNDrhc5zZV9AT\"><field name=\"BACKGROUND\">#000000</field><field name=\"STROKE\">#ffffff</field><value name=\"WEIGHT\"><shadow type=\"math_number\" id=\"8f6G55Hbme2dzQOoUya0\"><field name=\"NUM\">40</field></shadow></value><next><block type=\"ec_when_click_handdraw_btn\" id=\"2iB2sor3di2G35082jLq\"><field name=\"BTN\">screenshot</field><statement name=\"DO\"><block type=\"variables_set\" id=\"m358uSseIVtiN16cI3LP\"><field name=\"VAR\" id=\"?miOs@r2#:{2pl=s(|#f\" variabletype=\"\">predict</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"s7eYR(s##sY~uJFou;@b\"><field name=\"NUM\">1</field></shadow><block type=\"tf_model_predict\" id=\"SXNCMViVsJK7ijbkMKkY\"><value name=\"MODEL\"><block type=\"variables_get\" id=\"8NlHd9YsGlxZPRG3Lx72\"><field name=\"VAR\" id=\"iVsMvAGE!QS0/nSn)?=r\" variabletype=\"\">model</field></block></value><value name=\"X_INPUT\"><block type=\"ec_hand_draw_image_tensor\" id=\"QJm1YqskcnNF7admGm1y\"><field name=\"CHANNEL\">1</field><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"ssQGShOwt4b7ajJ1u5Oe\"><field name=\"NUM\">28</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"n5c2OGBcZQ9zIX05avZY\"><field name=\"NUM\">28</field></shadow></value></block></value></block></value><next><block type=\"text_print\" id=\"EQtamWtyInIZzPXenmJY\"><value name=\"TEXT\"><shadow type=\"text\" id=\"+/-8pi;Ug:UFxMI3H_wV\"><field name=\"TEXT\">abc</field></shadow><block type=\"tf_tensor_argMax\" id=\"vnW3r6O3janylQWRMUZK\"><value name=\"TENSOR\"><block type=\"variables_get\" id=\"fmrLk9xwOtH64xlHjclq\"><field name=\"VAR\" id=\"?miOs@r2#:{2pl=s(|#f\" variabletype=\"\">predict</field></block></value><value name=\"AXIS\"><shadow type=\"math_number\" id=\"kQ5Mi0oBJ06G4HTGIqFx\"><field name=\"NUM\">1</field></shadow></value></block></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>","type":"ailab","blockType":"blockly","user_block":"[]","projectMode":"javascript","editPropertyValueMap":{"editor_mode":"block","block_language":"zh","code_language":"javascript","lang":"zh-hans"},"extensions":[]}