code: def _get_scaffold(additional_initializers):
      return tf.train.Scaffold(
          init_op=control_flow_ops.group(
              tf.global_variables_initializer(),
              *additional_initializers,
          ),
          local_init_op=tf.group(
              tf.local_variables_initializer(),
              tf.train.Scaffold.default_local_init_op(),
              *additional_initializers,
          ),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import re
  import mesh_tensorflow
  import numpy
  import six
  from six.moves import range
  from six.moves import zip
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
  from mesh_tensorflow.experimental import input_reader
  from mesh_tensorflow.experimental import unet
  from tensorflow.contrib import summary
  from tensorflow.contrib import tpu
  from tensorflow.contrib.tpu.python.tpu import device_assignment
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.platform import flags
  from tensorflow.python.tpu.ops import tpu_ops
label_desc: Use image node_id 2 for calling a global function with example usage: _get_scaffold(additional_initializers) and returns: tf