<prompt> Tengeneza programu ya Python inayotumia maktaba ya Keras kuunda muundo wa mtandao wa neural kwa uainishaji wa picha. Funza muundo kwenye mkusanyiko wa data kama vile CIFAR-10 na utathmini utendakazi wake. PLINFORMAT  <response>: kuagiza kerakutoka kwa keras.datasets huagiza cifar10kutoka kwa keras.models huleta Mfuatanokutoka keras.layers kuagiza Dense, Dropout, Flattenkutoka kwa keras.layers huleta Conv2D, MaxPooling2Dkutoka kwa keras.optimizers huagiza Adam Pakia na usindika datax_train, y_train, x_test, y_test cifar10.load_datax_train x_train.astypefloat32 255.0x_test x_test.astypefloat32 255.0y_train keras.utils.to_categoricaly_train, 10y_test keras.utils.to_categoricaly_test, 10 Unda mfanomfano Mfuatanomodel.addConv2D32, kernel_size3, 3, activationrelu, input_shape32, 32, 3model.addMaxPooling2Dpool_size2, 2modeli.ongezaKuacha0.25model.addConv2D64, kernel_size3, 3, kuwezesharelumodel.addMaxPooling2Dpool_size2, 2modeli.ongezaKuacha0.25model.ongezaFlattenmodel.addDense128, activationrelumodeli.ongezaKuacha0.5model.addDense10, activationsoftmax Kusanya mfanomodel.compilehasarakeras.losses.categorical_crossentropy, optimizerAdamlr0.001, vipimousahihi Funza mfanomodel.fitx_treni, y_treni, batch_size128, enzi20, kitenzi1, uthibitisho_datax_test, y_test Tathmini mfanoalama model.tathminix_test, y_test, verbose0chapaJaribio hasara:, alama0chapaUsahihi wa jaribio:, alama1 