auto multiplier = _ctx.at(multipler_index).asScalar<int>();
- // Multiplier in CLDepthwiseConvolutionLayer is supported after ARMCompute 18.05
- assert(multiplier == 1);
assert(ker_shape.C == bias_size);
assert(ker_shape.C == ifm_shape.C * multiplier);
auto fn = nnfw::make_unique<::arm_compute::CLDepthwiseConvolutionLayer>();
- fn->configure(ifm_alloc, ker_alloc, bias_alloc, ofm_alloc, conv_info);
+ fn->configure(ifm_alloc, ker_alloc, bias_alloc, ofm_alloc, conv_info, param.multipler);
builder.append("DepthwiseConv2D", std::move(fn));
auto multiplier = _ctx.at(multipler_index).asScalar<int>();
- // Multiplier in CLDepthwiseConvolutionLayer is supported after ARMCompute 18.05
- assert(multiplier == 1);
assert(ker_shape.C == bias_size);
assert(ker_shape.C == ifm_shape.C * multiplier);
auto fn = nnfw::make_unique<::arm_compute::CLDepthwiseConvolutionLayer>();
- fn->configure(ifm_alloc, ker_alloc, bias_alloc, ofm_alloc, conv_info);
+ fn->configure(ifm_alloc, ker_alloc, bias_alloc, ofm_alloc, conv_info, param.multipler);
builder.append("DepthwiseConv2D", std::move(fn));