code: def _add_property_function(function_name):
      """
      Adds regular function that is applied directly on the underlying
      `_tensor` attribute, and returns the result of that function.
      """
  
      def property_func(self, *args, **kwargs):
          return getattr(self._tensor, function_name)(*args, **kwargs)
  
      if function_name not in globals():
          globals()[function_name] = property_func
  
imports: import torch
  from ..tensor_types import is_tensor
  from ..util import torch_cat, torch_stack
label_desc: Use image node_id 18 for calling a global function with example usage: _add_property_function(function_name) and returns: getattr