code: def bond_features(bond):
      bt = bond.GetBondType()
      return torch.Tensor(
          [
              bt == Chem.rdchem.BondType.SINGLE,
              bt == Chem.rdchem.BondType.DOUBLE,
              bt == Chem.rdchem.BondType.TRIPLE,
              bt == Chem.rdchem.BondType.AROMATIC,
              bond.IsInRing(),
          ]
      )
  
imports: import os
  import dgl
  import dgl.function
  import rdkit.Chem
  import torch
  import torch.nn
  from dgl import line_graph, mean_nodes
  from .nnutils import cuda
label_desc: Use image node_id 3 for calling a global function with example usage: bond_features(bond) and returns: torch