code: def test_savedmodel(self):
      if platform.system() == "Windows":
          self.skipTest("RAM FS not fully supported on Windows.")
  
      class MyModule(module.Module):
          @def_function.function(input_signature=[])
          def foo(self):
              return constant_op.constant([1])
  
      saved_model.save(MyModule(), "ram://my_module")
  
      loaded = saved_model.load("ram://my_module")
      self.assertAllEqual(loaded.foo(), [1])
  
file_path: tensorflow-upstream/tensorflow/core/platform/ram_file_system_test.py
imports: import platform
  from tensorflow.python.compat import v2_compat
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.module import module
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import saved_model
label_desc: Use image node_id 8 for calling the RamFilesystemTest obj's underlying member method code with example usage: obj.test_savedmodel() and returns: constant_op