code: def forward(self, img_word=None, input_ids=None, pos_ids=None):
      img_embedding = self.visual(img_word)
      img_embedding = img_embedding[:, 0]
      pool_out, text_embedding = self.text_model(
          input_ids, pos_ids=pos_ids
      )
      return img_embedding, pool_out
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_ernievil_base/vit_b_16x/ernievil2/transformers/multimodal.py
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 4 for calling the MultiModalModel obj's underlying member method code with example usage: obj.forward(img_word, input_ids, pos_ids) and returns: img_embedding,  pool_out