code: def testWarmStartVarCurrentVarPartitioned(self):
      _, prev_val = self._create_prev_run_var(
          "fruit_weights", initializer=[[0.5], [1.0], [1.5], [2.0]]
      )
  
      with ops.Graph().as_default() as g:
          with self.session(graph=g) as sess:
              fruit_weights = variable_scope.get_variable(
                  "fruit_weights",
                  shape=[4, 1],
                  initializer=[[0.0], [0.0], [0.0], [0.0]],
                  partitioner=lambda shape, dtype: [2, 1],
              )
              self.assertTrue(
                  isinstance(
                      fruit_weights, variables.PartitionedVariable
                  )
              )
              prev_tensor_name, var = ws_util._get_var_info(
                  fruit_weights
              )
              checkpoint_utils.init_from_checkpoint(
                  self.get_temp_dir(), {prev_tensor_name: var}
              )
              self.evaluate(variables.global_variables_initializer())
              fruit_weights = fruit_weights._get_variable_list()
              new_val = np.concatenate(
                  [
                      fruit_weights[0].eval(sess),
                      fruit_weights[1].eval(sess),
                  ],
                  axis=0,
              )
              self.assertAllClose(prev_val, new_val)
  
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 10 for calling the WarmStartingUtilTest obj's underlying member method code with example usage: obj.testWarmStartVarCurrentVarPartitioned() without return types