code: def _concatenate(ops: Ops, l2r: Padded, r2l: Padded) -> Padded:
      return Padded(
          ops.xp.concatenate((l2r.data, r2l.data), axis=-1),
          l2r.size_at_t,
          l2r.lengths,
          l2r.indices,
      )
  
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 5 for calling a global function with example usage: _concatenate(ops, l2r, r2l) and returns: Padded