class_docstr: Bond for encoding edge features
code: def __call__(self, x):
      bond_feature = get_bond_feature_dims()
      bond_input = fluid.layers.split(
          x, num_or_sections=len(bond_feature), dim=-1
      )
      outputs = None
      count = 0
      for _x, _bond_input_dim in zip(bond_input, bond_feature):
          count += 1
          emb = fluid.layers.embedding(
              _x,
              size=(_bond_input_dim, self.emb_dim),
              param_attr=fluid.ParamAttr(
                  name=self.name + "_bond_feat_%s" % count
              ),
          )
          if outputs is None:
              outputs = emb
          else:
              outputs = outputs + emb
      return outputs
  
file_path: PGL/legacy/pgl/contrib/ogb/graphproppred/mol_encoder.py
imports: import paddle.fluid
  from ogb.utils.features import get_atom_feature_dims, get_bond_feature_dims
label_desc: Use image node_id 2 for calling the BondEncoder obj's underlying member method code with example usage: obj.__call__(x) and returns: outputs