diff options
author | 2018-07-24 00:52:24 -0700 | |
---|---|---|
committer | 2018-07-24 00:55:36 -0700 | |
commit | fca1561b9d5932f940cf89e03128cf197547bed2 (patch) | |
tree | 40ee84ba3c0d577e19b29fec0eeb55c73211cb68 /tensorflow/contrib/lite/toco/graph_transformations/quantize.cc | |
parent | 37757856cded3a5608cfd218a0b25b41a148d995 (diff) |
BatchToSpaceND support quantization, so make the transformation know that.
PiperOrigin-RevId: 205789178
Diffstat (limited to 'tensorflow/contrib/lite/toco/graph_transformations/quantize.cc')
-rw-r--r-- | tensorflow/contrib/lite/toco/graph_transformations/quantize.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc b/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc index 5be2757479..f6ce3b3ecb 100644 --- a/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc +++ b/tensorflow/contrib/lite/toco/graph_transformations/quantize.cc @@ -50,6 +50,7 @@ bool SupportsQuantization(const Operator& op) { type == OperatorType::kSqueeze || type == OperatorType::kPad || type == OperatorType::kPadV2 || type == OperatorType::kReshape || type == OperatorType::kTanh || type == OperatorType::kMul || + type == OperatorType::kBatchToSpaceND || type == OperatorType::kSpaceToBatchND || type == OperatorType::kSpaceToDepth || type == OperatorType::kStridedSlice || |