This example illustrates the basic procedures for optimization of function using Tensorflow 2.x. The same function is used as in the Tensorflow 1.6. Please notice the differences such as loss function definition, and training procedures. The result should the same as in Tensorflow 1.6 optimization sample.