32CircleNode *CircleL2Pool2DGraphBuilder::build_node(
const circle::OperatorT &op,
33 const std::vector<CircleNode *> &inputs,
37 node->
value(inputs.at(0));
39 const auto *options = op.builtin_options.AsPool2DOptions();
41 node->stride()->w(options->stride_w);
42 node->stride()->h(options->stride_h);
43 node->filter()->w(options->filter_width);
44 node->filter()->h(options->filter_height);
45 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)