Tensorflow: 'module' object has no attribute 'scalar_summary' : <p>I tried to run the following code to test my TensorBoard, however, when I ran the program, there is an error said:</p>

<pre><code>'module' object has no attribute 'scalar_summary'
</code></pre>

<p>I want to know how can I fix this issue, thanks.</p>

<p>The following is the system info:</p>

<ul>
<li>Operating System: Ubuntu 16.04 LTS</li>
<li>Tensorflow version: 0.12rc (master)</li>
<li>Running environment: Jupyter Notebook</li>
</ul>

<p><strong>Test program and Output:</strong>
<a href="https://i.stack.imgur.com/qgt9G.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qgt9G.png" alt="enter image description here"></a></p>
