aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-08-08 17:18:07 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-08 17:27:56 -0700
commit63cd1e5999d36f91dd938af4a4c2864640c76caa (patch)
tree87f6ad4e81d51577dbbc9a825d2592aae66ef693 /tensorflow/contrib/lite/toco/graph_transformations/quantize.cc
parent963ef37203c76e0338ede21b469020e425fb9208 (diff)
Enable quantization support for ExpandDims
PiperOrigin-RevId: 207972564
Diffstat (limited to 'tensorflow/contrib/lite/toco/graph_transformations/quantize.cc')
-rw-r--r--tensorflow/contrib/lite/toco/graph_transformations/quantize.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc b/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc
index b5a6554c1d..8d22ae2eb1 100644
--- a/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc
+++ b/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc
@@ -62,7 +62,7 @@ bool SupportsQuantization(const Operator& op) {
type == OperatorType::kLessEqual || type == OperatorType::kSelect ||
type == OperatorType::kArgMax || type == OperatorType::kRelu ||
type == OperatorType::kRelu1 || type == OperatorType::kRelu6 ||
- type == OperatorType::kShape;
+ type == OperatorType::kShape || type == OperatorType::kExpandDims;
}
// The quantized op allows output arrays of type float using