mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-22 19:23:30 +00:00
[prefast:Warning]: C26451 (#14036)
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
parent
05137e6ec4
commit
7738be9b25
1 changed files with 2 additions and 2 deletions
|
|
@ -210,9 +210,9 @@ common::Status QlinearSoftmaxCPU<int8_t>(size_t N,
|
|||
ThreadPool::TryParallelFor(
|
||||
thread_pool, N,
|
||||
// Read 3*N (max,sum,div) write N (div), computation=Read
|
||||
TensorOpCost{static_cast<double>(D * 3),
|
||||
TensorOpCost{static_cast<double>(D) * 3.0,
|
||||
static_cast<double>(D),
|
||||
static_cast<double>(D * 3)},
|
||||
static_cast<double>(D) * 3.0},
|
||||
[x_data, y_data, D, y_scale, yzp, &lookup_table](std::ptrdiff_t first, std::ptrdiff_t last) {
|
||||
const auto c_y_scale = y_scale;
|
||||
const auto c_y_zp = yzp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue