27 const auto *node = loco::must_cast<const luci::CircleMaxPool2D *>(circle_node);
28 assert(node->arity() == 1);
34 params.
padding = node->padding();
35 params.filter_height = node->filter()->h();
36 params.filter_width = node->filter()->w();
37 params.stride_height = node->stride()->h();
38 params.stride_width = node->stride()->w();
39 params.activation = node->fusedActivationFunction();
41 return std::make_unique<kernels::MaxPool2D>(input, output, params);