Reset tf graph for train_and_eval to solve the memory leak.
Reset tf graph for train_and_eval to solve the memory leak.

Estimator rebuilds the graph for every epoch in train_and_eval mode.
This is probably the main reason of increasing memory usage.

google/automl,google/automl