I am doing a school work and I need to find out keras model memory size so I could compare different models. It is supposed to be composed of weights/parameters and model itself. It was given that model.summary() should contain all the information. From there I see that layer info and output shapes with the number of parameters.
I understand parameters as they are just a numbers and so, number of parameters * 4B most likely will give how much room parameters take. But I know that more information is required to know memory occupied by this model.
Can anyone guide me on how I can find out how many bytes of memory this model occupies?
I am unable to figure out how the first link addresses my question. As for the second link, it tells me memory requirement, but not how much the model actually occupies memory. So I am still lost