code: def discriminative_network(x):
      """Outputs probability in logits."""
      h0 = slim.fully_connected(x, 10, activation_fn=tf.nn.relu)
      return slim.fully_connected(h0, 1, activation_fn=None)
  
file_path: edward/tests/inferences/wgan_inference_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import edward
  import numpy
  import tensorflow
  from edward.models import Normal
  from tensorflow.contrib import slim
label_desc: Use image node_id 2 for calling a global function with example usage: discriminative_network(x) and returns: slim