class_docstr: The bond Encoder used in OGB molecule dataset.
  
  Args:
      emb_dim (int): Output edge embedding dimension
class_docstr_tok: ["The","bond","Encoder","used","in","OGB","molecule","dataset",".","Args",":","emb_dim","(","int",")",":","Output","edge","embedding","dimension"]
code: def forward(self, batch):
      bond_embedding = 0
      for i in range(batch.edge_feature.shape[1]):
          bond_embedding += self.bond_embedding_list[i](
              batch.edge_feature[:, i]
          )
  
      batch.edge_feature = bond_embedding
      return batch
  
file_path: GraphGym/graphgym/models/feature_encoder.py
imports: import torch
  from ogb.utils.features import get_atom_feature_dims, get_bond_feature_dims
  import graphgym.register
label_desc: Use image node_id 2 for calling the BondEncoder obj's underlying member method code with example usage: obj.forward(batch) and returns: batch