diff options
author | Jacques Pienaar <jpienaar@google.com> | 2019-06-28 17:52:48 -0700 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-06-28 18:00:49 -0700 |
commit | b975111fc04b0ce3e141a7eec11179a31cdecb16 (patch) | |
tree | f7bcc085b809190b810a7ea4a20c3636ac232a61 /mlir/lib/Quantizer/Configurations | |
parent | 16a60c6df7ef5cee66540a694f5b082ce5ed63d7 (diff) | |
download | bcm5719-llvm-b975111fc04b0ce3e141a7eec11179a31cdecb16.tar.gz bcm5719-llvm-b975111fc04b0ce3e141a7eec11179a31cdecb16.zip |
Internal change
PiperOrigin-RevId: 255700627
Diffstat (limited to 'mlir/lib/Quantizer/Configurations')
-rw-r--r-- | mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp b/mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp index d512c4d827b..d0eda558fcc 100644 --- a/mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp +++ b/mlir/lib/Quantizer/Configurations/FxpMathConfig.cpp @@ -177,8 +177,7 @@ struct FxpMathTargetConfigImpl : public FxpMathTargetConfig { layerStatsAttr.getValue({0}).cast<FloatAttr>().getValueAsDouble(); layerStats.maxValue = layerStatsAttr.getValue({1}).cast<FloatAttr>().getValueAsDouble(); - UniformConstraintsBuilder(cag).applyStats(resultNode, - std::move(layerStats)); + UniformConstraintsBuilder(cag).applyStats(resultNode, layerStats); } void handleAdd(Operation *op, CAGSlice &cag) const { |