<p dir="auto">I want to quantize a h5 model, but i can't find “tf. fake_quant_with_min_max_args”  by   API tf.keras</p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10.0.17134.407</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA</li>
<li>TensorFlow installed from (source or binary): Binary</li>
<li>TensorFlow version: 1.12.0</li>
<li>Python version: 3.6.7</li>
<li>Installed using virtualenv? pip? conda?: pip</li>
<li>Bazel version (if compiling from source): NA</li>
<li>GCC/Compiler version (if compiling from source): NA</li>
<li>CUDA/cuDNN version: 10.0.130 / 7.4.1.5 for Win 10</li>
<li>GPU model and memory: Quadro M520</li>
</ul>
<p dir="auto"><strong>Describe the problem</strong><br>
tensorflow fails on import with "module could not be found".  Other issue says to open a new issue due to differing config (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="367432602" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/22794" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/22794/hovercard" href="https://github.com/tensorflow/tensorflow/issues/22794">#22794</a>)</p>
<p dir="auto"><strong>Provide the exact sequence of commands / steps that you executed before running into the problem</strong></p>
<ol dir="auto">
<li>python</li>
<li>import tensorflow as tf</li>
</ol>
<p dir="auto"><strong>Any other info / logs</strong><br>
Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] on win32<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import tensorflow as tf<br>
Traceback (most recent call last):<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module<br>
return load_dynamic(name, filename, file)<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic<br>
return _load(spec)<br>
ImportError: DLL load failed: The specified module could not be found.</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "", line 1, in <br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br>
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module<br>
return load_dynamic(name, filename, file)<br>
File "C:\Users\marktayl\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic<br>
return _load(spec)<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/errors" rel="nofollow">https://www.tensorflow.org/install/errors</a></p>
<p dir="auto">for some common reasons and solutions.  Include the entire stack trace<br>
above this error message when asking for help.</p>