From bde443e2399a8ce9ffe5957e5c3021b79c8055d2 Mon Sep 17 00:00:00 2001 From: Zhennan Qin Date: Thu, 24 Oct 2019 05:04:22 -0500 Subject: [PATCH] Fix dequantize memory corruption (#16606) Change-Id: I51b62a32987bdbcf96f04b1bc6617e66796f648b --- src/operator/quantization/dequantize.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/operator/quantization/dequantize.cc b/src/operator/quantization/dequantize.cc index e8e2cd90b86c..9ce135040fb4 100644 --- a/src/operator/quantization/dequantize.cc +++ b/src/operator/quantization/dequantize.cc @@ -43,8 +43,6 @@ bool DequantizeStorageType(const nnvm::NodeAttrs& attrs, } #endif (*out_attrs)[0] = kDefaultStorage; - (*out_attrs)[1] = kDefaultStorage; - (*out_attrs)[2] = kDefaultStorage; return true; }