remove extra const (#159)

This commit is contained in:
Changming Sun 2018-12-12 16:53:45 -08:00 committed by GitHub
parent ed98d3d653
commit cfd3b4c606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ Status QuantizeLinear<float>::Compute(OpKernelContext* ctx) const {
const uint8_t* current_zero_point = zero_point;
for (size_t bd = 0; bd < static_cast<size_t>(broadcastDim); bd++) {
auto zp = static_cast<const float>(*current_zero_point);
float zp = *current_zero_point;
auto sc = *current_scale;
for (size_t bs = 0; bs < block_size; bs++) {