Skip to content

Commit

Permalink
Fix svace defect (#11763)
Browse files Browse the repository at this point in the history
- fix svace defect ID 12232

ONE-DCO-1.0-Signed-off-by: Chunseok Lee <[email protected]>
  • Loading branch information
chunseoklee authored and Seunghui98 committed Oct 25, 2023
1 parent c6472fe commit 00805f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions onert-micro/luci-interpreter/src/kernels/Conv2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,13 @@ void evalQuantizedPerChannel(const circle::Tensor *input, const circle::Tensor *
// Type U8

const auto *input_data = kernels::getTensorData<uint8_t>(raw_input_data);
assert(input_data != nullptr);
const auto *filter_data = kernels::getTensorData<uint8_t>(raw_filter_data);
assert(filter_data != nullptr);
const auto *bias_data = kernels::getTensorData<int32_t>(raw_bias_data);
assert(bias_data != nullptr);
auto *output_data = kernels::getTensorData<uint8_t>(raw_output_data);
assert(output_data != nullptr);

const std::vector<kernels::ChannelQuantMultipliers> multipliers_raw =
kernels::quantizeMultipliers(effective_output_scale);
Expand Down

0 comments on commit 00805f4

Please sign in to comment.