code: def create_methods_and_properties_from_stubs(
      concrete_type, method_stubs, property_stubs
  ):
      method_defs = [m.def_ for m in method_stubs]
      method_rcbs = [m.resolution_callback for m in method_stubs]
      method_defaults = [
          get_default_args(m.original_method) for m in method_stubs
      ]
  
      property_defs = [p.def_ for p in property_stubs]
      property_rcbs = [p.resolution_callback for p in property_stubs]
  
      concrete_type._create_methods_and_properties(
          property_defs,
          property_rcbs,
          method_defs,
          method_rcbs,
          method_defaults,
      )
  
imports: import collections
  import functools
  import inspect
  import sys
  import textwrap
  import types
  import warnings
  from typing import Dict, List, Set, Type
  import torch
  import torch._jit_internal
  from torch._sources import fake_range
  from torch.jit._builtins import _find_builtin
  from torch.jit._check import AttributeTypeIsSupportedChecker
  from torch.jit._state import _add_script_class, _get_script_class, _python_cu
  from torch.jit.frontend import get_class_properties, get_default_args, get_jit_class_def, get_jit_def
  from torch.nn import Module
label_desc: Use image node_id 9 for calling a global function with example usage: create_methods_and_properties_from_stubs(concrete_type, method_stubs, property_stubs) without return types