In latest tf version, some existing functions/models have been removed from tensorflow.python.keras namespace. Could not figure it out with one simple solution, need some extra efforts to find out a good solution.