code: def save_model(model, checkpoint_path):
      """Save a  Kmeans model .
  
      Arguments
      ---------
          model : MiniBatchKMeans
              The  kmeans model to be saved.
          checkpoint_path : str)
              Path to save the model..
      """
      joblib.dump(model, open(checkpoint_path, "wb"))
  
imports: import os
  import logging
  from tqdm.contrib import tqdm
  import joblib
label_desc: Use image node_id 4 for calling a global function with example usage: save_model(model, checkpoint_path) without return types