This is a fix for a memory leak where new Tensorflow assign operations are created every time set_model_params(...) is called. The fix consists of creating the assign operations together with placeholders to be able to feed new parameter values to the model.
This is a fix for a memory leak where new Tensorflow assign operations are created every time set_model_params(...) is called. The fix consists of creating the assign operations together with placeholders to be able to feed new parameter values to the model.