code: def vectorize_node(node: Apply, *batched_inputs) -> Apply:
      """Returns vectorized version of node with new batched inputs."""
      op = node.op
      return _vectorize_node(op, node, *batched_inputs)
  
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 9 for calling a global function with example usage: vectorize_node(node) and returns: _vectorize_node