code: def forward(
      model: Model[InT_v1, OutT_v1], inputs: InT_v1, is_train: bool
  ) -> Tuple[OutT, Callable]:
      table = model.attrs["mapping_table"]
      default = model.attrs["default"]
      dtype = model.attrs["dtype"]
      values = [table.get(x, default) for x in inputs]
      arr = model.ops.asarray2i(values, dtype=dtype)
      output = model.ops.reshape2i(arr, -1, 1)
  
      def backprop(dY: OutT_v1) -> InT:
          return []
  
      return output, backprop
  
file_path: thinc/thinc/layers/remap_ids.py
imports: from typing import Any, Callable, Dict, Hashable, Optional, Sequence, Tuple, Union, cast
  from ..config import registry
  from ..model import Model
  from ..types import DTypes, Ints1d, Ints2d
  from ..util import is_xp_array, to_numpy
label_desc: Use image node_id 2 for calling a global function with example usage: forward(model, inputs, is_train) and returns: output,  backprop, list