code: def __init__(self, emb_dim):
      super(BondEncoder, self).__init__()
      log.info("bond encoder type is %s" % self.__class__.__name__)
  
      self.bond_embedding_list = nn.LayerList()
  
      for i, dim in enumerate(full_bond_feature_dims):
          weight_attr = nn.initializer.XavierUniform()
          emb = paddle.nn.Embedding(
              dim, emb_dim, weight_attr=weight_attr
          )
          self.bond_embedding_list.append(emb)
  
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.distributed
  from pgl.utils.logger import log
  import features.local_feature
label_desc: Use image node_id 1 to create a new BondEncoder object from inherited base classes: nn with example: obj = BondEncoder(emb_dim)