Random predictions with intel-tensorflow when OMP_THREAD_LIMIT is set
Hi @fcouziniedevy ,

I'm unable to replicate your problem. The predictions using OMP_NUM_THREAD is constant and not random. Please refer the [gist](https://colab.research.google.com/gist/Varsha-anjanappa/ae9f5662513c39ace7c3a078e74d5bff/61328.ipynb).

Thank you!! Hi,
sorry my post was not consistent: the problematic env variable is *OMP_THREAD_LIMIT* not *OMP_NUM_THREADS*. I used the correct variable everywhere in my post except in the example code... I edited my first post and by modifiing your example colab (replacing "OMP_NUM_THREAD" by "OMP_THREAD_LIMIT"), I can reproduce the problem.
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

The problem arises when using *intel-tensorflow*

### Source

binary

### TensorFlow version

unknown, 2.13.0 (package intel_tensorflow-2.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl)

### Custom code

No

### OS platform and distribution

Linux Ubuntu 20.04

### Python version

3.8, 3.9, 3.10, 3.11

### Current behavior?

This problem only happens when using the *intel-tensorflow* package which uses the mkl library. When the environment variable OMP_THREAD_LIMIT is set, the predictions of some standard models become random when running on cpu.

During the run, a warning from OMP is shown:
```
OMP: Warning #96: Cannot form a team with 36 threads, using 12 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
```
This warning suggests to unset the variable _OMP_THREAD_LIMIT_ but I think a randomness/instability in the prediction of models needs more than a warning with a "Hint".

To reproduce the problem:
* Create an environment with *intel-tensorflow* installed
* Copy the code in the following section into a file *test_script.py*
* Run the following commands:
  * `python test_script.py`
  * `OMP_THREAD_LIMIT=2 python test_script.py`  (edited)

### Standalone code to reproduce the issue

```python
import tensorflow as tf


if __name__ == "__main__":
    with tf.device("/cpu:0"):
        model = tf.keras.applications.efficientnet.EfficientNetB0()
        img = tf.ones((1, 224, 224, 3))
        pred = model(img)

        print(f"Result: {pred[0, :5]}")
```


### Relevant log output

```shell
# Run without OMP_THREAD_LIMIT
...
Result: [0.00066389 0.00075261 0.00108045 0.00210853 0.00316559]

# Run with OMP_THREAD_LIMIT
...
OMP: Warning #96: Cannot form a team with 6 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
Result: [0.00030835 0.00062532 0.00057299 0.00088017 0.00140722]
```
