code: def ernie_pool(self, term_ids):
      cls = L.fill_constant_batch_size_like(
          term_ids, [-1, 1], "int64", self.config.cls_id
      )
      term_ids = L.concat([cls, term_ids], 1)
      ernie_model = ErnieModel(self.config.ernie_config, "")
      feature, _ = ernie_model(term_ids)
      return feature
  
imports: import os
  import json
  import numpy
  import pgl
  import paddle.fluid
  import paddle.fluid.layers
  from ernie import ErnieModel
  from pgl.utils.logger import log
label_desc: Use image node_id 2 for calling the ERNIESageV1Encoder obj's underlying member method code with example usage: obj.ernie_pool(term_ids) and returns: feature