code: def vectorize_graph(
      outputs: Sequence[Variable],
      replace: Mapping[Variable, Variable],
  ) -> Sequence[Variable]:
      ...
  
imports: import warnings
  from collections.abc import Iterable, Mapping, Sequence
  from functools import partial, singledispatch
  from typing import Optional, Union, cast, overload
  from pytensor.graph.basic import Apply, Constant, Variable, io_toposort, truncated_graph_inputs
  from pytensor.graph.fg import FunctionGraph
  from pytensor.graph.op import Op
label_desc: Use image node_id 12 for calling a global function with example usage: vectorize_graph(outputs, replace) without return types