code: def outer_arguments(*, is_reverse: bool) -> List[Binding]:
      if is_reverse:
          return [
              base_binding,
              mutated_view_binding,
              mutated_view_idx_binding,
          ]
      else:
          return [base_binding, mutated_view_idx_binding]
  
file_path: pytorch/torchgen/api/functionalization.py
imports: from typing import List, Optional
  from torchgen.api import dispatcher
  from torchgen.api.types import BaseCppType, BaseCType, Binding, boolT, ConstRefCType, CType, longT, NamedCType, tensorT
  from torchgen.model import Argument, BaseTy, BaseType, FunctionSchema, NativeFunction, NativeFunctionsViewGroup
label_desc: Use image node_id 5 for calling a global function with example usage: outer_arguments() and returns: list, list