title: Suppress OpenMP debug messages when running Tensorflow on CPU
body: <p>When running a Python program on Linux that includes <code>import tensorflow</code> (installed without GPU support), a bunch of OpenMP debug messages are written to stdout, even when no functions from the tensorflow module are ever called. Here's an excerpt:</p>
  
  <pre><code>OMP: Info #212: KMP_AFFINITY: decoding x2APIC ids.
  OMP: Info #210: KMP_AFFINITY: Affinity capable, using global cpuid leaf 11 info
  OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: 0-3
  OMP: Info #156: KMP_AFFINITY: 4 available OS procs
  OMP: Info #157: KMP_AFFINITY: Uniform topology
  </code></pre>
  
  <p>Setting <code>os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'</code> before importing tensorflow does not get rid of these messages, how can I suppress them (from Python)?</p>