code: def init(
      model: Model[InT, OutT],
      X: Optional[InT] = None,
      Y: Optional[OutT] = None,
  ) -> None:
      (Y1, Y2) = _split(model.ops, Y) if Y is not None else (None, None)
      model.layers[0].initialize(X=X, Y=Y1)
      model.layers[1].initialize(X=X, Y=Y2)
  
file_path: thinc/thinc/layers/bidirectional.py
imports: from typing import Callable, Optional, Tuple, cast
  from ..backends import Ops
  from ..config import registry
  from ..model import Model
  from ..types import Padded
label_desc: Use image node_id 3 for calling a global function with example usage: init(model, X, Y) without return types