code: def testGetTensor(self):
      checkpoint_dir = self.get_temp_dir()
      with self.cached_session() as session:
          v1, v2, v3, v4 = _create_checkpoints(session, checkpoint_dir)
      self.assertAllEqual(
          checkpoint_utils.load_variable(checkpoint_dir, "var1"), v1
      )
      self.assertAllEqual(
          checkpoint_utils.load_variable(checkpoint_dir, "var2"), v2
      )
      self.assertAllEqual(
          checkpoint_utils.load_variable(checkpoint_dir, "var3"), v3
      )
      self.assertAllEqual(
          checkpoint_utils.load_variable(
              checkpoint_dir, "useful_scope/var4"
          ),
          v4,
      )
  
imports: import os
  import pathlib
  import time
  import numpy
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.client import session
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import init_ops
  from tensorflow.python.ops import partitioned_variables
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import test
  from tensorflow.python.training import checkpoint_utils
  from tensorflow.python.training import saver
label_desc: Use image node_id 3 for calling the CheckpointsTest obj's underlying member method code with example usage: obj.testGetTensor() without return types