I was prunning a model and came across a library TensorFlow model optimization so initially, we have
I trained this model on a default dataset and it gave me an accuracy of 96 percent which is good. then I saved the model in a JSON file and saved its weight in h5 file now I loaded this model into another script to prune it after applying prunning and compiling the model I got this model summary
although the model is prunned well and there is a significant amount of reduction in parameters but the problem here is why parameters increased after applying the prunning and also even after rmoving non-trainable parameters still the prunned and simple model has same number of parameters can anyone explain me if this is normal or i am doing something wrong. Also please explain why this is happening. Thank you in advance to all of you :)