code: def build_linear_logistic(
      nO=None, nI=None
  ) -> Model[Floats2d, Floats2d]:
      """An output layer for multi-label classification. It uses a linear layer
      followed by a logistic activation.
      """
      return chain(
          Linear(nO=nO, nI=nI, init_W=glorot_uniform_init), Logistic()
      )
  
file_path: spaCy/spacy/ml/models/spancat.py
imports: from typing import List, Tuple, cast
  from thinc.api import Linear, Logistic, Maxout, Model, chain, concatenate, glorot_uniform_init, list2ragged, reduce_first, reduce_last, reduce_max, reduce_mean, with_getitem
  from thinc.types import Floats2d, Ragged
  from ...tokens import Doc
  from ...util import registry
  from ..extract_spans import extract_spans
label_desc: Use image node_id 1 for calling a global function with example usage: build_linear_logistic(nO, nI) and returns: chain