Keras predicting and updating the neuron weights at the same time
Weights do not update when predicting, only when training and hence only for Model.fit
I have built (model.compile()) a Neural Network model using Keras. Then I have fitted the model (model.fit()) using my train data. Finally, I am using the model to predict (model.predict()) the values of the test data.
Based on my understanding, in the process of fitting the model, the weights of the neurons of the network are being updated in each batch. Is this still the case, when predicting? Do the weights of the neural network get updated for each batch when predicting? Is there a possibility to switch this option on and off? I am running two analyses and in the first one, I would like the weights not to update when predicting but in the other one I would like the weights to update for each batch.