Apply to speak at TensorFlow World. Deadline April 23rd. Propose talk

tf.contrib.gan.eval.run_image_classifier

Aliases:

  • tf.contrib.gan.eval.classifier_metrics.run_image_classifier
  • tf.contrib.gan.eval.run_image_classifier
tf.contrib.gan.eval.run_image_classifier(
    tensor,
    graph_def,
    input_tensor,
    output_tensor,
    scope='RunClassifier'
)

Defined in tensorflow/contrib/gan/python/eval/python/classifier_metrics_impl.py.

Runs a network from a frozen graph.

Args:

  • tensor: An Input tensor.
  • graph_def: A GraphDef proto.
  • input_tensor: Name of input tensor in graph def.
  • output_tensor: A tensor name or list of tensor names in graph def.
  • scope: Name scope for classifier.

Returns:

Classifier output if output_tensor is a string, or a list of outputs if output_tensor is a list.

Raises:

  • ValueError: If input_tensor or output_tensor aren't in the graph_def.