Dolcera interview question

Generator function in python. what is gradient decent in deep learning.