I am training models iteratively and would like to make sure that the session is cleared and the computational graph does not start from the last model’s update. I am deleting the models with
del model but is there an equivalent of
K.clear_session() to ensure destroying the computational graph and clearing session?
Thanks in advance!