29CircleNode *CircleAveragePool2DGraphBuilder::build_node(
const circle::OperatorT &op,
30 const std::vector<CircleNode *> &inputs,
34 node->
value(inputs.at(0));
36 const auto *options = op.builtin_options.AsPool2DOptions();
38 node->stride()->w(options->stride_w);
39 node->stride()->h(options->stride_h);
40 node->filter()->w(options->filter_width);
41 node->filter()->h(options->filter_height);
42 node->fusedActivationFunction(
luci_actfunc(options->fused_activation_function));
bool validate(const ValidateArgs &args) const final
AVERAGE_POOL_2D in Circle.
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)