code: def save(self, save_model_dir=None, global_step=None):
      if save_model_dir is None:
          save_model_dir = self._save_model_dir
      with self.traingraph.tf_graph.as_default():
          self._tf_train_saver.save(
              self._tf_train_sess,
              os.path.join(save_model_dir, "model.ckpt"),
              global_step=global_step,
          )
  
imports: import tensorflow
  import numpy
  import os
label_desc: Use image node_id 7 for calling the Recommender obj's underlying member method code with example usage: obj.save(save_model_dir, global_step) without return types