code: def test_export_saved_model(self):
      checkpoint_path = self.save_checkpoint()
  
      destination_dir = os.path.join(checkpoint_path, "export")
  
      export_saved_model.export(
          checkpoint_path, destination_dir, use_tf_sampling=True
      )
  
      self.assertTrue(
          tf.gfile.Exists(
              os.path.join(destination_dir, "saved_model.pb")
          )
      )
      tf.gfile.DeleteRecursively(checkpoint_path)
  
file_path: magenta/magenta/models/coconet/export_saved_model_test.py
imports: import os
  import tempfile
  from magenta.models.coconet import export_saved_model
  from magenta.models.coconet import lib_graph
  from magenta.models.coconet import lib_hparams
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the ExportSavedModelTest obj's underlying member method code with example usage: obj.test_export_saved_model() without return types