class_docstr: Linear decoder for speaker diarization
code: def __init__(
      self,
      encoder_output_size: int,
      num_spk: int = 2,
  ):
      super().__init__()
      self._num_spk = num_spk
      self.linear_decoder = torch.nn.Linear(
          encoder_output_size, num_spk
      )
  
imports: import torch
  from espnet2.diar.decoder.abs_decoder import AbsDecoder
label_desc: Use image node_id 1 to create a new LinearDecoder object from inherited base classes: AbsDecoder with example: obj = LinearDecoder(encoder_output_size, num_spk)