class_docstr: Hugging Face Transformers PostEncoder.
docstr: Forward.
docstr_tok: ["Forward","."]
code: def forward(
      self,
      transcript_input_ids: torch.LongTensor,
      transcript_attention_mask: torch.LongTensor,
      transcript_token_type_ids: torch.LongTensor,
      transcript_position_ids: torch.LongTensor,
  ) -> torch.Tensor:
      """Forward."""
      transcript_outputs = self.model(
          input_ids=transcript_input_ids,
          position_ids=transcript_position_ids,
          attention_mask=transcript_attention_mask,
          token_type_ids=transcript_token_type_ids,
      )
  
      return self.out_linear(transcript_outputs.last_hidden_state)
  
file_path: espnet/espnet2/slu/postdecoder/hugging_face_transformers_postdecoder.py
imports: from espnet2.slu.postdecoder.abs_postdecoder import AbsPostDecoder
  import logging
  import torch
  from typeguard import check_argument_types
label_desc: Use image node_id 2 for calling the HuggingFaceTransformersPostDecoder obj's underlying member method code with example usage: obj.forward(transcript_input_ids, transcript_attention_mask, transcript_token_type_ids, transcript_position_ids) and returns: self