docstr: save.
  
  Save model to the given path.
  
  Args:
      save_path: `str`. The path to save the model.
docstr_tok: ["save",".","Save","model","to","the","given","path",".","Args",":","save_path",":","`","str","`",".","The","path","to","save","the","model","."]
code: def save(self, save_path):
      """save.
  
      Save model to the given path.
  
      Args:
          save_path: `str`. The path to save the model.
  
      """
      if not self._estimator_built:
          with self.graph.as_default():
              self._build_estimator()
      self.saver.save(self.session, os.path.abspath(save_path))
  
imports: from __future__ import division, print_function, absolute_import
  from datetime import datetime
  import os
  import math
  import numpy
  import time
  import tensorflow.compat.v1
  from tensorflow.contrib.factorization.python.ops import clustering_ops
  from tensorflow.contrib.tensor_forest.python.ops import data_ops
  from tensorflow.python.ops import state_ops, array_ops, math_ops
  from ...utils import validate_dim, read_tensor_in_checkpoint, prepare_X
  from ...data_utils import get_num_features, get_num_sample
  from ...data_flow import generate_data_tensor
  from ...distances import euclidean, cosine
  from ..base import BaseEstimator
label_desc: Use image node_id 15 for calling the KMeansBase obj's underlying member method code with example usage: obj.save(save_path) without return types