class_docstr: A data structure reporting how much confidence a model assigned to its
  predictions on each example and whether those predictions were correct.
  This class is just a dictionary with some type checks.
  It maps string data type names (like "clean" for clean data or "Semantic"
  for semantic adversarial examples) to ConfidenceReportEntry instances.
  
  :param iterable: optional iterable containing (key, value) tuples
class_docstr_tok: ["A","data","structure","reporting","how","much","confidence","a","model","assigned","to","its","predictions","on","each","example","and","whether","those","predictions","were","correct",".","This","class","is","just","a","dictionary","with","some","type","checks",".","It","maps","string","data","type","names","(","like","``","clean","''","for","clean","data","or","``","Semantic","''","for","semantic","adversarial","examples",")","to","ConfidenceReportEntry","instances",".",":","param","iterable",":","optional","iterable","containing","(","key",",","value",")","tuples"]
code: def __setitem__(self, key, value):
      assert isinstance(key, six.string_types)
      if not isinstance(value, ConfidenceReportEntry):
          raise TypeError(
              "`value` must be a ConfidenceReportEntry, but got "
              + str(value)
              + " of type "
              + str(type(value))
          )
      super(ConfidenceReport, self).__setitem__(key, value)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from collections import OrderedDict
  import logging
  import time
  import warnings
  import numpy
  import six
  import tensorflow
  from cleverhans.attacks import MaxConfidence
  from cleverhans.attacks import Semantic
  from cleverhans.evaluation import correctness_and_confidence
  from cleverhans.evaluation import run_attack
  from cleverhans.utils import set_log_level
  from cleverhans.serial import load, save
  from cleverhans.utils_tf import infer_devices
label_desc: Use image node_id 2 for calling the ConfidenceReport obj's underlying member method code with example usage: obj.__setitem__(key, value) without return types