docstr:     The API for saving the model.
  Parameters
  ----------
  save_path : str
      The root path.
  checkpoint_name : str
      The name of the checkpoint.
  Returns
  -------
docstr_tok: ["The","API","for","saving","the","model",".","Parameters","--","--","--","--","--","save_path",":","str","The","root","path",".","checkpoint_name",":","str","The","name","of","the","checkpoint",".","Returns","--","--","--","-"]
code: def save_checkpoint(self, save_path, checkpoint_name):
      """
          The API for saving the model.
      Parameters
      ----------
      save_path : str
          The root path.
      checkpoint_name : str
          The name of the checkpoint.
      Returns
      -------
  
      """
      checkpoint_path = os.path.join(save_path, checkpoint_name)
      os.makedirs(save_path, exist_ok=True)
      torch.save(self, checkpoint_path)
  
imports: import os
  import torch
  import torch.backends.cudnn
  import torch.multiprocessing
  import torch.nn
  import torch.nn.functional
  from graph4nlp.pytorch.modules.graph_construction import NodeEmbeddingBasedRefinedGraphConstruction
  from graph4nlp.pytorch.modules.graph_construction.node_embedding_based_graph_construction import NodeEmbeddingBasedGraphConstruction
  from graph4nlp.pytorch.modules.graph_embedding_initialization.embedding_construction import WordEmbedding
  from graph4nlp.pytorch.modules.graph_embedding_initialization.graph_embedding_initialization import GraphEmbeddingInitialization
  from graph4nlp.pytorch.modules.graph_embedding_learning.gat import GAT
  from graph4nlp.pytorch.modules.graph_embedding_learning.gcn import GCN
  from graph4nlp.pytorch.modules.graph_embedding_learning.ggnn import GGNN
  from graph4nlp.pytorch.modules.graph_embedding_learning.graphsage import GraphSAGE
  from graph4nlp.pytorch.modules.prediction.classification.node_classification import BiLSTMFeedForwardNN
label_desc: Use image node_id 5 for calling the Word2tag obj's underlying member method code with example usage: obj.save_checkpoint(save_path, checkpoint_name) without return types