tensorflow中的global_step等概念的理解
1. global_step
参考stackoverflow答主的回答
global_step refer to the number of batches seen by the graph. Everytime a batch is provided, the weights are updated in the direction that minimizes the loss. global_step just keeps track of the number of batches seen so far. When it is passed in the minimize() argument list, the variable is increased by one. Have a look at optimizer.minimize().
You can get the global_step value using tf.train.global_step().
The 0 is the initial value of the global step in this context.
global_step在训练中是计数的作用,每训练一个batch就加1