code: def testRelativePath(self, dtype):
      os.chdir(self.get_temp_dir())
      self.evaluate(
          io_ops.save_v2(
              "ckpt",
              ["x"],
              [""],
              [constant_op.constant(2, dtype=dtype)],
          )
      )
      self.assertAllEqual(
          [2],
          self.evaluate(
              io_ops.restore_v2("ckpt", ["x"], [""], [dtype])
          ),
      )
  
imports: import os
  from absl.testing import parameterized
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_io_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the SaveRestoreTest obj's underlying member method code with example usage: obj.testRelativePath(dtype) without return types