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(),
          ]
      )
  
file_path: DIG/dig/ggraph/method/JTVAE/fast_jtnn/jtmpn_bo.py
imports: import torch
  import torch.nn
  from .nnutils import create_var, index_select_ND
  import rdkit.Chem
label_desc: Use image node_id 3 for calling a global function with example usage: bond_features(bond) and returns: torch