28 const auto *node = loco::must_cast<const luci::CircleConv2D *>(circle_node);
29 assert(node->arity() == 3);
40 scratchpad->set_data_buffer(
nullptr);
49 if (execution_plan.offsets().size() > 1)
51 scratchpad->set_offset(execution_plan.offsets().at(1));
56 params.
padding = node->padding();
57 params.stride_height = node->stride()->h();
58 params.stride_width = node->stride()->w();
59 params.dilation_height_factor = node->dilation()->h();
60 params.dilation_width_factor = node->dilation()->w();
61 params.activation = node->fusedActivationFunction();
63 return std::make_unique<kernels::Conv2D>(input, filter, bias, output, tmp, params);