code: def compute_meta_data_for_functions_proxy(target, args, kwargs):
      args_metas, kwargs_metas = extract_meta(*args, **kwargs)
  
      # fetch patched function
      if meta_patched_function.has(target):
          meta_target = meta_patched_function.get(target)
      elif meta_patched_function.has(target.__name__):
          meta_target = meta_patched_function.get(target.__name__)
      else:
          meta_target = target
      meta_out = meta_target(*args_metas, **kwargs_metas)
      if isinstance(meta_out, torch.Tensor):
          meta_out = meta_out.to(device="meta")
  
      return meta_out
  
imports: from typing import Any, List, Union
  import torch
  from ..proxy import ColoProxy
  from .meta_patch import meta_patched_function
label_desc: Use image node_id 3 for calling a global function with example usage: compute_meta_data_for_functions_proxy(target, args, kwargs) and returns: meta_out