code: def _create_prev_run_var(
      self, var_name, shape=None, initializer=None, partitioner=None
  ):
      with ops.Graph().as_default() as g:
          with self.session(graph=g) as sess:
              var = variable_scope.get_variable(
                  var_name,
                  shape=shape,
                  initializer=initializer,
                  partitioner=partitioner,
              )
              self._write_checkpoint(sess)
              if partitioner:
                  self.assertTrue(
                      isinstance(var, variables.PartitionedVariable)
                  )
                  var = var._get_variable_list()
              return var, self.evaluate(var)
  
imports: import os
  import numpy
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.feature_column import feature_column_lib
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import init_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.training import checkpoint_utils
  from tensorflow.python.training import saver
  from tensorflow.python.training import warm_starting_util
label_desc: Use image node_id 3 for calling the WarmStartingUtilTest obj's underlying member method code with example usage: obj._create_prev_run_var(var_name, shape, initializer, partitioner) and returns: var,  self