title: Display graph using Tensorflow v2.0 in Tensorboard
body: <p>Following code using TensorFlow v2.0</p>
  
  <pre><code>import tensorflow as tf    
  a = tf.constant(6.0, name = "constant_a")
  b = tf.constant(3.0, name = "constant_b")
  c = tf.constant(10.0, name = "constant_c")
  d = tf.constant(5.0, name = "constant_d")    
  mul = tf.multiply(a, b , name = "mul")
  div = tf.divide(c,d, name ="div")
  addn = tf.add_n([mul, div], name = "addn")
  
  writer = tf.summary.create_file_writer("./tensorboard")
  
  with writer.as_default():
       tf.summary.scalar("addn_harsha", addn, step=1)
  </code></pre>
  
  <p>I am new to Python and Tensorflow.
  I could able to create Scalar in Tensorboard, out of the code above.
  But I could not generate graph for the same.</p>
  
  <p>In TensorFlow v1.0, we write:
  writer = tf.summary.FileWriter("./tensorboard", sess.graph)</p>
  
  <p>But in TensorFlow v2.0, Session is no longer used.
  So, what we can write to create graph in TensorBoard using TensorFlow v2.0</p>