There is a class in which I store the tf.keras model
After instantiating the class, I call the method to update the model.
Why does the amount of memory consumed i