sentence1: to minimize the introduced approximation , we use adam optimizer , which is a modification of the pure stochastic gradient descent .
sentence2: we minimize the loss function using stochastic gradient descent with adam as the weight update algorithm .