This is an automated email from the ASF dual-hosted git repository.
bgawrych pushed a commit to branch v1.9.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.9.x by this push:
new 3a08242 quantized elemwise mul changed out type to float (#20926)
3a08242 is described below
commit 3a082423e8f17c5ba8dbd39bad353b1c1d1f5dc5
Author: RafLit <[email protected]>
AuthorDate: Thu Mar 10 14:47:24 2022 +0100
quantized elemwise mul changed out type to float (#20926)
---
src/operator/quantization/quantized_elemwise_mul.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/operator/quantization/quantized_elemwise_mul.cc
b/src/operator/quantization/quantized_elemwise_mul.cc
index deb717d..5e8ec0e 100644
--- a/src/operator/quantization/quantized_elemwise_mul.cc
+++ b/src/operator/quantization/quantized_elemwise_mul.cc
@@ -198,7 +198,7 @@ void QuantizedElemwiseMulOpForward(const nnvm::NodeAttrs
&attrs,
}
}
} else {
- typedef float_t out_type;
+ typedef float out_type;
auto *out_data = outputs[quantized_elemwise_mul::kOut].dptr<out_type>();
#if !defined(_MSC_VER)
#pragma omp simd