class_docstr: CAV class contains methods for concept activation vector (CAV).
  
  CAV represents semenatically meaningful vector directions in
  network's embeddings (bottlenecks).
class_docstr_tok: ["CAV","class","contains","methods","for","concept","activation","vector","(","CAV",")",".","CAV","represents","semenatically","meaningful","vector","directions","in","network","'s","embeddings","(","bottlenecks",")","."]
docstr: Save a dictionary of this CAV to a pickle.
docstr_tok: ["Save","a","dictionary","of","this","CAV","to","a","pickle","."]
code: def _save_cavs(self):
      """Save a dictionary of this CAV to a pickle."""
      save_dict = {
          "concepts": self.concepts,
          "bottleneck": self.bottleneck,
          "hparams": self.hparams,
          "accuracies": self.accuracies,
          "cavs": self.cavs,
          "saved_path": self.save_path,
      }
      if self.save_path is not None:
          with tf.io.gfile.GFile(self.save_path, "w") as pkl_file:
              pickle.dump(save_dict, pkl_file)
      else:
          tf.compat.v1.logging.info(
              "save_path is None. Not saving anything"
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os.path
  import pickle
  import numpy
  from six.moves import range
  from sklearn import linear_model
  from sklearn import metrics
  from sklearn.model_selection import train_test_split
  from tcav import utils
  import tensorflow
label_desc: Use image node_id 11 for calling the CAV obj's underlying member method code with example usage: obj._save_cavs() without return types