pan> <span class="k">import</span> <span class="n">Reporter</span>
<span class="n">logger</span> <span class="o">=</span> <span class="n">Reporter</span><span class="o">.</span><span class="n">logger</span>


<span class="c1"># warn user if TensorFlow does not see the GPU</span>
<span class="kn">from</span> <span class="nn">tensorflow.python.client</span> <span class="k">import</span> <span class="n">device_lib</span>
<span class="k">if</span> <span class="s2">&quot;GPU&quot;</span> <span class="ow">not</sp