We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcde434 commit b43f6d0Copy full SHA for b43f6d0
tf2onnx/onnx_opset/quantize.py
@@ -10,7 +10,6 @@
10
from __future__ import unicode_literals
11
12
import logging
13
-import sys
14
15
import numpy as np
16
from onnx.onnx_pb import TensorProto
@@ -28,7 +27,7 @@
28
27
class FakeQuantWithMinMaxArgs:
29
# see https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-args
30
@classmethod
31
- def version_11(cls, ctx, node, **kwargs):
+ def version_10(cls, ctx, node, **kwargs):
32
# hack to make up for the missing onnx pack op
33
amin = node.get_attr("min").f
34
amax = node.get_attr("max").f
0 commit comments