'Builds a graph that should be executed after the restore op.
This graph is intended to be run once, before the inference pipeline is
run.
Returns:
setup_op - An op that, when run, guarantees all setup ops will run.'

def build_post_restore_hook(self):

    with tf.control_dependencies([comp.build_post_restore_hook() for comp in self.components]):
        return tf.no_op(name='post_restore_hook_master')
