code: def test_get_mobile_model_contained_types(self):
      class MyTestModule(torch.nn.Module):
          def forward(self, x):
              return x + 10
  
      sample_input = torch.tensor([1])
  
      script_module = torch.jit.script(MyTestModule())
      script_module_result = script_module(sample_input)
  
      buffer = io.BytesIO(
          script_module._save_to_buffer_for_lite_interpreter()
      )
      buffer.seek(0)
      type_list = _get_mobile_model_contained_types(buffer)
      assert len(type_list) >= 0
  
file_path: pytorch/test/mobile/test_bytecode.py
imports: import fnmatch
  import io
  import shutil
  import tempfile
  import torch
  import torch.utils.show_pickle
  from torch.jit.mobile import _load_for_lite_interpreter, _get_mobile_model_contained_types, _get_model_bytecode_version, _get_model_ops_and_info, _backport_for_mobile_to_buffer, _backport_for_mobile
  from torch.testing._internal.common_utils import TestCase, run_tests
  from pathlib import Path
label_desc: Use image node_id 6 for calling the testVariousModelVersions obj's underlying member method code with example usage: obj.test_get_mobile_model_contained_types() and returns: unknown