code: def featurize_mol(
      mol, n_atom_types, max_n_atoms, max_valence, num_atoms_feature
  ):
      adj_matrix, atom_matrix = get_atom_adj_matrices(
          mol, n_atom_types, max_n_atoms, max_valence
      )
      if num_atoms_feature:
          return (adj_matrix, atom_matrix, mol.GetNumAtoms())
      return (adj_matrix, atom_matrix)
  
file_path: deepchem/contrib/torch/adjacency_fingerprint.py
imports: from collections import deque
  import sys
  import tensorflow
  import pickle
  import os
  import fnmatch
  import numpy
  from scipy.spatial.distance import pdist, squareform
  import pandas
  from deepchem.feat.base_classes import Featurizer
  from deepchem.feat.graph_features import atom_features
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 3 for calling a global function with example usage: featurize_mol(mol, n_atom_types, max_n_atoms, max_valence, num_atoms_feature) and returns: adj_matrix,  atom_matrix, adj_matrix,  atom_matrix,  mol