code: def get_atomic_num_one_hot(
      atom: RDKitAtom,
      allowable_set: List[int],
      include_unknown_set: bool = True,
  ) -> List[float]:
      """Get a one-hot feature about atomic number of the given atom.
  
      Parameters
      ---------
      atom: RDKitAtom
          RDKit atom object
      allowable_set: List[int]
          The range of atomic numbers to consider.
      include_unknown_set: bool, default False
          If true, the index of all types not in `allowable_set` is `len(allowable_set)`.
  
      Returns
      -------
      List[float]
          A one-hot vector of atomic number of the given atom.
          If `include_unknown_set` is False, the length is `len(allowable_set)`.
          If `include_unknown_set` is True, the length is `len(allowable_set) + 1`.
  
      """
      return one_hot_encode(
          atom.GetAtomicNum() - 1, allowable_set, include_unknown_set
      )
  
imports: from rdkit import Chem
  import numpy
  import logging
  from typing import List, Tuple, Union, Dict, Set, Sequence, Optional
  from deepchem.utils.typing import RDKitAtom, RDKitMol, RDKitBond
  from deepchem.feat.base_classes import MolecularFeaturizer
  from deepchem.feat.graph_data import GraphData
  from deepchem.feat.molecule_featurizers.circular_fingerprint import CircularFingerprint
  from deepchem.feat.molecule_featurizers.rdkit_descriptors import RDKitDescriptors
  from deepchem.utils.molecule_feature_utils import one_hot_encode
  from deepchem.utils.molecule_feature_utils import get_atom_total_degree_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_formal_charge_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_total_num_Hs_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_hybridization_one_hot
  from deepchem.utils.molecule_feature_utils import get_atom_is_in_aromatic_one_hot
  from deepchem.feat.graph_features import bond_features
label_desc: Use image node_id 1 for calling a global function with example usage: get_atomic_num_one_hot(atom, allowable_set, include_unknown_set) and returns: one_hot_encode