28 const auto *node = loco::must_cast<const luci::CircleDepthwiseConv2D *>(circle_node);
29 assert(node->arity() == 3);
37 params.
padding = node->padding();
38 params.depth_multiplier = node->depthMultiplier();
39 params.stride_height = node->stride()->h();
40 params.stride_width = node->stride()->w();
41 params.dilation_height_factor = node->dilation()->h();
42 params.dilation_width_factor = node->dilation()->w();
43 params.activation = node->fusedActivationFunction();
48 scratchpad->set_observable(
false);
49 scratchpad->set_data_buffer(
nullptr);
58 if (execution_plan.offsets().size() > 1)
60 scratchpad->set_offset(execution_plan.offsets().at(1));
64 return std::make_unique<kernels::DepthwiseConv2D>(input, filter, bias, output, tmp, params);