mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
remove extra const (#159)
This commit is contained in:
parent
ed98d3d653
commit
cfd3b4c606
1 changed files with 1 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue