tf.contrib.opt.ModelAverageCustomGetter

Class ModelAverageCustomGetter

Change trainable variables to local collection and place them at worker
device

Generate global variables
Notice that the class should be used with tf.replica_device_setter,
so that the global center variables and global step variable can be placed
at ps device. Besides, use 'tf.get_variable' instead of 'tf.Variable' to
use this custom getter.