code: def _create_realize_and_forward(name):
      @functools.wraps(getattr(VariableTracker, name))
      def realize_and_forward(self, *args, **kwargs):
          return getattr(self.realize(), name)(*args, **kwargs)
  
      return realize_and_forward
  
file_path: pytorch/torch/_dynamo/variables/lazy.py
imports: import functools
  from typing import Optional
  from .base import VariableTracker
label_desc: Use image node_id 1 for calling a global function with example usage: _create_realize_and_forward(name) and returns: realize_and_forward, getattr