Merge pull request #46704 from AdamHillier:patch-1

PiperOrigin-RevId: 355653955
Change-Id: Ia604b27c13903430b4ce7ae85299aecfea6853bc
This commit is contained in:
TensorFlower Gardener 2021-02-04 10:58:44 -08:00
commit 766a32278d

View File

@ -411,6 +411,7 @@ class QuantizationMode(object):
"""Checks if the graph contains any training-time quantization ops."""
training_quant_ops = frozenset({
"FakeQuantWithMinMaxVars", "FakeQuantWithMinMaxVarsPerChannel",
"FakeQuantWithMinMaxArgs", "FakeQuantWithMinMaxArgsPerChannel",
"QuantizeAndDequantizeV2", "QuantizeAndDequantizeV3"
})