code: def op_name_from_native_function(f: NativeFunction) -> str:
      # This was originally read from the 'operator_name_with_overload' field in the
      # declaration dict, which was the part before the first '(' in 'schema_string'.
      return f"{f.namespace}::{f.func.name}"
  
imports: from collections import defaultdict
  from collections.abc import Iterable
  from dataclasses import dataclass
  from typing import Dict, List, Optional, Set, Tuple
  import yaml
  from torchgen.model import NativeFunction
  from torchgen.selective_build.operator import merge_debug_info, merge_operator_dicts, SelectiveBuildOperator, strip_operator_overload_name
label_desc: Use image node_id 4 for calling a global function with example usage: op_name_from_native_function(f) and returns: f, str, f