code: def forward(self, style_input, text_input):
      style_feature = self.encoder_style.forward(style_input)[
          "res_blocks"
      ]
      text_feature = self.encoder_text.forward(text_input)["res_blocks"]
      fake_c_temp = self.decoder_text.forward(
          [text_feature, style_feature]
      )["out_conv"]
      fake_sk = self.decoder_sk.forward([text_feature, style_feature])[
          "out_conv"
      ]
      fake_text = self.middle(
          paddle.concat((fake_c_temp, fake_sk), axis=1)
      )
      return {"fake_sk": fake_sk, "fake_text": fake_text}
  
imports: import paddle
  import paddle.nn
  from arch.base_module import MiddleNet, ResBlock
  from arch.encoder import Encoder
  from arch.decoder import Decoder, DecoderUnet, SingleDecoder
  from utils.load_params import load_dygraph_pretrain
  from utils.logging import get_logger
label_desc: Use image node_id 2 for calling the TextGenerator obj's underlying member method code with example usage: obj.forward(style_input, text_input) and returns: dict