code: def throw_if_any_op_includes_overloads(
      selective_builder: SelectiveBuilder,
  ) -> None:
      ops = []
      for op_name, op in selective_builder.operators.items():
          if op.include_all_overloads:
              ops.append(op_name)
      if ops:
          raise Exception(
              (
                  "Operators that include all overloads are "
                  + "not allowed since --allow-include-all-overloads "
                  + "was specified: {}"
              ).format(", ".join(ops))
          )
  
file_path: pytorch/tools/code_analyzer/gen_oplist.py
imports: import argparse
  import json
  import os
  import sys
  from functools import reduce
  from typing import Any, List, Set
  import yaml
  from tools.lite_interpreter.gen_selected_mobile_ops_header import write_selected_mobile_ops
  from torchgen.selective_build.selector import combine_selective_builders, SelectiveBuilder
label_desc: Use image node_id 3 for calling a global function with example usage: throw_if_any_op_includes_overloads(selective_builder) without return types