diff options
Diffstat (limited to 'runtime/onert/backend/ruy/KernelGenerator.cc')
-rw-r--r-- | runtime/onert/backend/ruy/KernelGenerator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/onert/backend/ruy/KernelGenerator.cc b/runtime/onert/backend/ruy/KernelGenerator.cc index ae7ec28fd..735a948f6 100644 --- a/runtime/onert/backend/ruy/KernelGenerator.cc +++ b/runtime/onert/backend/ruy/KernelGenerator.cc @@ -55,7 +55,7 @@ std::unique_ptr<exec::FunctionSequence> KernelGenerator::generate(ir::OperationI assert(_return_fn); // _return_fn must have been generated ret->append(std::move(_return_fn)); - for (auto &&ind : (op.getInputs() | ir::Remove::UNDEFINED) + op.getOutputs()) + for (const auto &&ind : (op.getInputs() | ir::Remove::UNDEFINED) + op.getOutputs()) { auto portable_tensor = _tensor_reg->getPortableTensor(ind); if (portable_tensor) @@ -101,7 +101,7 @@ void KernelGenerator::visit(const ir::operation::Conv2D &node) const auto stride = node.param().stride; const auto activation = node.param().activation; - const auto param_padding = node.param().padding; + const auto ¶m_padding = node.param().padding; const auto dilation = node.param().dilation; auto fn = std::make_unique<ops::ConvolutionLayer>(); |