code: def __init__(self, in_channels, out_channels, only_transpose=False):
      super().__init__()
      self.only_transpose = only_transpose
      if not self.only_transpose:
          self.fc = nn.Linear(
              in_channels, out_channels, bias_attr=False
          )
  
file_path: PaddleOCR/ppocr/modeling/heads/rec_multi_head.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import paddle
  from paddle import ParamAttr
  import paddle.nn
  import paddle.nn.functional
  from ppocr.modeling.necks.rnn import Im2Seq, EncoderWithRNN, EncoderWithFC, SequenceEncoder, EncoderWithSVTR
  from .rec_ctc_head import CTCHead
  from .rec_sar_head import SARHead
  from .rec_nrtr_head import Transformer
label_desc: Use image node_id 1 to create a new FCTranspose object from inherited base classes: nn with example: obj = FCTranspose(in_channels, out_channels, only_transpose)