code: def init(
      initializer: Callable,
      model: Model[Ints1d, OutT],
      X: Optional[Ints1d] = None,
      Y: Optional[OutT] = None,
  ) -> None:
      E = initializer(
          model.ops, (model.get_dim("nV"), model.get_dim("nO"))
      )
      model.set_param("E", E)
  
file_path: thinc/thinc/layers/hashembed.py
imports: from typing import Any, Callable, Dict, Optional, Tuple, TypeVar, Union, cast
  from ..config import registry
  from ..initializers import uniform_init
  from ..model import Model
  from ..types import Floats1d, Floats2d, Ints1d, Ints2d
  from ..util import partial
  from .array_getitem import ints_getitem
  from .chain import chain
label_desc: Use image node_id 3 for calling a global function with example usage: init(initializer, model, X, Y) without return types