code: def main(argv=None):
      """
      Make a confidence report and save it to disk.
      """
      try:
          _name_of_script, filepath = argv
      except ValueError:
          raise ValueError(argv)
      make_confidence_report_spsa(
          filepath=filepath,
          test_start=FLAGS.test_start,
          test_end=FLAGS.test_end,
          which_set=FLAGS.which_set,
          report_path=FLAGS.report_path,
          nb_iter=FLAGS.nb_iter,
          batch_size=FLAGS.batch_size,
          spsa_samples=FLAGS.spsa_samples,
          spsa_iters=FLAGS.spsa_iters,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import logging
  import numpy
  import tensorflow
  from cleverhans.utils_tf import silence
  from cleverhans.attacks import SPSA
  from cleverhans.attack_bundling import spsa_max_confidence_recipe
  from cleverhans.serial import load
  from cleverhans.utils import set_log_level
  from cleverhans.compat import flags
  from cleverhans.confidence_report import BATCH_SIZE
  from cleverhans.confidence_report import TRAIN_START
  from cleverhans.confidence_report import TRAIN_END
  from cleverhans.confidence_report import TEST_START
  from cleverhans.confidence_report import TEST_END
  from cleverhans.confidence_report import WHICH_SET
  from cleverhans.confidence_report import REPORT_PATH
label_desc: Use image node_id 2 for calling a global function with example usage: main(argv) without return types