31CircleNode *CircleMaxPool2DGraphBuilder::build_node(
const circle::OperatorT &op,
32 const std::vector<CircleNode *> &inputs,
36 node->
value(inputs.at(0));
38 const auto *options = op.builtin_options.AsPool2DOptions();
40 node->stride()->w(options->stride_w);
41 node->stride()->h(options->stride_h);
42 node->filter()->w(options->filter_width);
43 node->filter()->h(options->filter_height);
44 node->fusedActivationFunction(
luci_actfunc(options->fused_activation_function));
bool validate(const ValidateArgs &args) const final
loco::Node * value(void) const
bool validate(const ValidateArgs &args, size_t input_cnt) const
Padding luci_padding(const circle::Padding padding)
FusedActFunc luci_actfunc(const circle::ActivationFunctionType type)