code: def init(
      model: Model[InT, OutT],
      X: Optional[InT] = None,
      Y: Optional[OutT] = None,
  ) -> None:
      layer = model.layers[0]
      layer.initialize(X, Y)
  
file_path: thinc/thinc/layers/resizable.py
imports: from typing import Callable, Optional, TypeVar
  from ..config import registry
  from ..model import Model
  from ..types import Floats2d
label_desc: Use image node_id 3 for calling a global function with example usage: init(model, X, Y) without return types