title: TensorFlow error using AVX instructions on Linux while working on Windows on the same machine
body: <p>I'm using a Dual-Boot machine with Windows and Ubuntu and try to run a code which works well while windows is used but errors when Ubuntu is used.
  The error says: </p>
  
  <pre><code>F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
  </code></pre>
  
  <p>While running the same code using Windows it gives a similar warning but still runs. </p>
  
  <p>Couldn't find any solution regarding to the problem on the net.</p>
  
  <p><strong>System specifications:</strong></p>
  
  <ul>
  <li>Ubuntu 18.10</li>
  <li>Python 2.7.15+</li>
  <li>TensorFlow 1.12.0</li>
  </ul>