code: def main(_):
      p = 0.1
      geom = geometric(p)
  
      sess = tf.Session()
      samples = [sess.run(geom) for _ in range(1000)]
      plt.hist(samples, bins="auto")
      plt.title("Geometric({0})".format(p))
      plt.show()
  
file_path: edward/examples/pp_stochastic_control_flow.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import matplotlib.pyplot
  import tensorflow
  from edward.models import Bernoulli
label_desc: Use image node_id 2 for calling a global function with example usage: main(_) without return types