I need to perform numerical integration using TensorFlow. And do it many many times in a loop. My RAM memory slowly but steadily increases. The code below reproduces the pro