code: def decode_stereo(smiles2D):
      mol = Chem.MolFromSmiles(smiles2D)
      dec_isomers = list(EnumerateStereoisomers(mol))
  
      dec_isomers = [
          Chem.MolFromSmiles(Chem.MolToSmiles(mol, isomericSmiles=True))
          for mol in dec_isomers
      ]
      smiles3D = [
          Chem.MolToSmiles(mol, isomericSmiles=True)
          for mol in dec_isomers
      ]
  
      chiralN = [
          atom.GetIdx()
          for atom in dec_isomers[0].GetAtoms()
          if int(atom.GetChiralTag()) > 0 and atom.GetSymbol() == "N"
      ]
      if len(chiralN) > 0:
          for mol in dec_isomers:
              for idx in chiralN:
                  mol.GetAtomWithIdx(idx).SetChiralTag(
                      Chem.rdchem.ChiralType.CHI_UNSPECIFIED
                  )
              smiles3D.append(
                  Chem.MolToSmiles(mol, isomericSmiles=True)
              )
  
      return smiles3D
  
imports: import rdkit
  import rdkit.Chem
  from scipy.sparse import csr_matrix
  from scipy.sparse.csgraph import minimum_spanning_tree
  from collections import defaultdict
  from rdkit.Chem.EnumerateStereoisomers import EnumerateStereoisomers, StereoEnumerationOptions
  from .vocab import Vocab
label_desc: Use image node_id 4 for calling a global function with example usage: decode_stereo(smiles2D) and returns: smiles3D