title: How to rebuild tensorflow with the compiler flags?
body: <p>I am trying to run binary classification with a tensorflow backend but I keep receiving an error that I believe asks me to rebuild tensorflow with the right compiler flags. I know that my code and data is functionally, so I think the problem is with virtual environment. I have tried finding solutions on tensorflow's website, ibm's website, and stack overflow, but I haven't been successful. I have also tried reinstalling tensorflow and python.</p>
  <p>Full Traceback:</p>
  <p><code>I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set</code></p>
  <p><code>I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA</code></p>
  <p><code>To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.</code></p>
  <p>Virtual Environment Info:</p>
  <p>-using a anaconda environment</p>
  <p>-Python 3.7.9</p>
  <p>-tensorflow 2.4.1</p>