code: def __init__(
      self,
      pooled_feature: paddle.static.Variable,
      seq_feature: paddle.static.Variable,
      feed_list: List[str],
      data_reader: Generic,
      config: RunConfig = None,
  ):
      main_program = pooled_feature.block.program
      super(TransformerEmbeddingTask, self).__init__(
          main_program=main_program,
          config=config,
          feed_list=feed_list,
          data_reader=data_reader,
          metrics_choices=[],
      )
      self.pooled_feature = pooled_feature
      self.seq_feature = seq_feature
  
file_path: PaddleHub/paddlehub/compat/task/transformer_emb_task.py
imports: from typing import Generic, List
  import paddle
  import numpy
  from paddlehub.compat.task.config import RunConfig
  from paddlehub.compat.task.base_task import BaseTask
  from paddlehub.compat.task.task_utils import RunState
label_desc: Use image node_id 1 to create a new TransformerEmbeddingTask object from inherited base classes: BaseTask with example: obj = TransformerEmbeddingTask(pooled_feature, seq_feature, feed_list, data_reader, config)